Skip to content

Instantly share code, notes, and snippets.

@jbott
Created October 29, 2016 15:14
Show Gist options
  • Save jbott/c183beedb7b93771a49e9465d1b4077b to your computer and use it in GitHub Desktop.
Save jbott/c183beedb7b93771a49e9465d1b4077b to your computer and use it in GitHub Desktop.
void setup() {
// put your setup code here, to run once:
for (int i = 2; i < 11; i++) {
pinMode(i,OUTPUT);
digitalWrite(i, HIGH);
}
}
void loop() {
// put your main code here, to run repeatedly:
for (int i = 2; i < 11; i++) {
digitalWrite(i,LOW);
delay(200);
digitalWrite(i,HIGH);
delay(200);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment