Skip to content

Instantly share code, notes, and snippets.

@jasiek
Created March 30, 2017 21:16
Show Gist options
  • Save jasiek/e904193a0c725c0bc770446164a8fd79 to your computer and use it in GitHub Desktop.
Save jasiek/e904193a0c725c0bc770446164a8fd79 to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
for (int i = 0; i < 14; i++) {
pinMode(i, OUTPUT);
}
}
void loop() {
for (int i = 0; i < 14; i++) {
digitalWrite(i, HIGH);
}
delay(5000);
for (int i = 0; i < 14; i++) {
digitalWrite(i, LOW);
}
delay(5000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment