Browse Source

blink

lightsleep
Hendrik Langer 7 years ago
parent
commit
6cd93f1b27
  1. 16
      src/main.cpp

16
src/main.cpp

@ -0,0 +1,16 @@
#include "Arduino.h"
#ifndef LED_BUILTIN
#define LED_BUILTIN 13
#endif
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
Loading…
Cancel
Save