box-o-sand/arduino/HelloWorld/HelloWorld.ino

16 lines
233 B
Arduino
Raw Normal View History

2013-12-29 03:04:42 +00:00
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);
}