Skip to content

Instantly share code, notes, and snippets.

@caad1229
Created May 7, 2015 02:26
Show Gist options
  • Select an option

  • Save caad1229/c123891aba6e618966e4 to your computer and use it in GitHub Desktop.

Select an option

Save caad1229/c123891aba6e618966e4 to your computer and use it in GitHub Desktop.
basic arduino test
#define LED_PIN 13
void setup() {
pinMode(LED_PIN, OUTPUT);
Serial.begin(9600);
}
void loop() {
Serial.println("Hello Arduino");
digitalWrite(LED_PIN, HIGH); delay(100);
digitalWrite(LED_PIN, LOW); delay(900);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment