2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
#define LED_BUILTIN 2 |
||||
|
|
||||
|
void setup() { |
||||
|
pinMode(LED_BUILTIN, OUTPUT); |
||||
|
} |
||||
|
|
||||
|
void loop() { |
||||
|
digitalWrite(LED_BUILTIN, HIGH); |
||||
|
delay(1000); |
||||
|
digitalWrite(LED_BUILTIN, LOW); |
||||
|
delay(1000); |
||||
|
} |
@ -0,0 +1 @@ |
|||||
|
Turn an LED on and off. |
Loading…
Reference in new issue