Skip to content

Instantly share code, notes, and snippets.

@jbott jbott/relays.ino
Created Oct 29, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.