ménage reps

This commit is contained in:
Julien Cabillot
2017-03-06 15:05:51 +01:00
committed by JC
parent 3a0c1ab677
commit 8c54c23937
9 changed files with 3 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
// D0 est defini via la librairie esp8266
#define PIN_LED D0
#define SERIAL_SPEED 115200
+16
View File
@@ -0,0 +1,16 @@
#include "blink.h"
void setup() {
Serial.begin(SERIAL_SPEED);
Serial.println("\nresetting");
pinMode(PIN_LED, OUTPUT);
}
void loop() {
Serial.print("loop\n");
digitalWrite(PIN_LED, HIGH);
delay(500);
digitalWrite(PIN_LED, LOW);
delay(500);
}