Arduino hello world

cat-town
Dan Buch 11 years ago
parent 69e062f1f4
commit 9e8a532da6

@ -0,0 +1,15 @@
const unsigned int LED_PIN = 13;
const unsigned int PAUSE = 500;
void setup() {
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(PAUSE);
digitalWrite(LED_PIN, LOW);
delay(PAUSE);
}
Loading…
Cancel
Save