Skip to content

Instantly share code, notes, and snippets.

@mitsuruog
Created October 5, 2012 15:10
Show Gist options
  • Save mitsuruog/3840397 to your computer and use it in GitHub Desktop.
Save mitsuruog/3840397 to your computer and use it in GitHub Desktop.
Arduino flashing LED
#define LED_PIN 13
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