Created
July 11, 2012 16:19
-
-
Save emilepetrone/3091515 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define LED_PIN 13 | |
void setup () { | |
pinMode (LED_PIN, OUTPUT); // enable pin 13 for digital output | |
} | |
void loop () { | |
digitalWrite (LED_PIN, HIGH); // turn on the LED | |
delay (1000); // wait one second (1000 milliseconds) | |
digitalWrite (LED_PIN, LOW); // turn off the LED | |
delay (1000); // wait one second | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment