Created
October 29, 2016 15:14
-
-
Save jbott/c183beedb7b93771a49e9465d1b4077b to your computer and use it in GitHub Desktop.
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
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