Skip to content

Instantly share code, notes, and snippets.

@sgk
Created February 21, 2013 12:18
Show Gist options
  • Save sgk/5004367 to your computer and use it in GitHub Desktop.
Save sgk/5004367 to your computer and use it in GitHub Desktop.
LeonardoTest
int i = 0;
void setup() {
pinMode(13, OUTPUT);
Serial.begin(9600);
while(!Serial) {
}
}
void loop() {
i++;
Serial.println(i);
digitalWrite(13, !digitalRead(13));
delay(300);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment