Add Blink sketch
This commit is contained in:
parent
6250b49538
commit
a856e1c96b
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.bin
Normal file
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.bin
Normal file
Binary file not shown.
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.elf
Executable file
BIN
Week 4/Blink/Blink.esp8266.esp8266.nodemcuv2.elf
Executable file
Binary file not shown.
14
Week 4/Blink/Blink.ino
Normal file
14
Week 4/Blink/Blink.ino
Normal file
@ -0,0 +1,14 @@
|
||||
#define LED_BUILTIN D4
|
||||
|
||||
void setup() {
|
||||
pinMode(LED_BUILTIN,OUTPUT);
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
digitalWrite(LED_BUILTIN,LOW);
|
||||
delay(1000);
|
||||
|
||||
digitalWrite(LED_BUILTIN,HIGH);
|
||||
delay(1000);
|
||||
}
|
Loading…
Reference in New Issue
Block a user