Created
October 14, 2014 14:58
-
-
Save hidsh/6ab1667d647ca0d89cc5 to your computer and use it in GitHub Desktop.
led blink on arduino
This file contains 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 12 | |
void setup() { | |
pinMode(LED_PIN, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(LED_PIN, HIGH); | |
delay(500); | |
digitalWrite(LED_PIN, LOW); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment