arduino-course/Week 4/Blink/Blink.ino

15 lines
188 B
C++

#define LED_BUILTIN D4
void setup() {
pinMode(LED_BUILTIN,OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN,LOW);
delay(1000);
digitalWrite(LED_BUILTIN,HIGH);
delay(1000);
}