This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Kids-Serie#10 | |
Project : Arduino Start Up | |
Ino File: _10_SimulateAnalogOutput_03.ino | |
*/ | |
void setup() { // put your setup code here, to run once: | |
pinMode(3, OUTPUT); // LED connected |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Kids-Serie#10 | |
Project : Arduino Start Up | |
Ino File: _10_Blinking_LED_01.ino | |
*/ | |
void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Project name: | |
16 #arduSerie - Arduino Headless Setup & ESP 8266 | |
(WIFI cheap chip!) | |
Flavour I - | |
Hex File: _16_arduSerie_sketch_01.HelloServer_Json.ino | |
Revision History: | |
20160927: | |
- board found on Arduino IDE Exemples | |
(connect everything on ESP8266 to access examples) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
BTS 7960B | |
*/ | |
int RPWM1 = 5; // Two board used here, 1 | |
int LPWM1 = 6; | |
int L_EN1 = 7; | |
int R_EN1 = 8; | |
int RPWM2 = 9; // and 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int AIA = 3; | |
const int AIB = 4; | |
const int BIA = 5; // If you have the dual driver remove | |
const int BIB = 6; // the comments and enable the other engine | |
byte speed = 255; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(AIA, OUTPUT); | |
pinMode(AIB, OUTPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HALF STEP | |
#define stepper PORTB | |
#define waiting_time 500 | |
void setup() { | |
for (int z = 8; z < 12; z++) { | |
pinMode(z, OUTPUT); // pins 8,9,10,11 output for driving the motor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Full Step | |
#define stepper PORTB | |
#define waiting_time 500 | |
void setup() { | |
for (int z = 8; z < 12; z++) { // FULL STEP DRIVE | |
pinMode(z, OUTPUT); // pins 8,9,10,11 output for driving the motor | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WAVE DRIVE | |
#define stepper PORTB | |
#define waiting_time 500 | |
void setup() { | |
for (int z = 8; z < 12; z++) { | |
pinMode(z, OUTPUT); // pins 8,9,10,11 output for driving the motor | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define control1 8 // pin that controls the MOSFET | |
#define control2 9 // pin that controls the MOSFET | |
void setup() { | |
pinMode(control1, OUTPUT); // define control pin as output | |
pinMode(control2, OUTPUT); // define control pin as output | |
Serial.begin(9600); |