/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ const int LED_PIN = 2; void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(LED_PIN, OUTPUT); } void loop() { digitalWrite(LED_PIN, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(LED_PIN, LOW); // set the LED off delay(1000); // wait for a second }