first commit
This commit is contained in:
37
ESP8266_12_TEST_PINS/ESP8266_12_TEST_PINS.ino
Executable file
37
ESP8266_12_TEST_PINS/ESP8266_12_TEST_PINS.ino
Executable file
@@ -0,0 +1,37 @@
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
Serial.begin(9600);
|
||||
pinMode(0, OUTPUT);
|
||||
pinMode(2, OUTPUT);
|
||||
pinMode(3, OUTPUT);
|
||||
pinMode(4, OUTPUT);
|
||||
|
||||
delay(100);
|
||||
}
|
||||
|
||||
|
||||
void loop() {
|
||||
|
||||
// Serial.begin(9600);
|
||||
|
||||
digitalWrite(0, HIGH);
|
||||
|
||||
Serial.println("Changement " + String(0));
|
||||
delay(2000);
|
||||
digitalWrite(0, LOW);
|
||||
delay(2000);
|
||||
|
||||
// for (int i=2; i <=4;i++) {
|
||||
//
|
||||
// // Affectations des port GPIO0 et GPIO2 en sorties et à l'état bas
|
||||
//
|
||||
// digitalWrite(i, HIGH);
|
||||
//
|
||||
// Serial.println("Changement " + String(i));
|
||||
// delay(2000);
|
||||
// digitalWrite(i, LOW);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user