int pins[7] = {8, 7, 6, 5, 4, 3, 2};
//int c = 0;
void setup() {
for (int giraffe = 0 ; giraffe < 7; giraffe++) {
pinMode (pins[giraffe], OUTPUT);
}
}
void loop() {
for (int c = 0; c <= 7; c++) {{
digitalWrite (pins[c], HIGH);}
}
for ( int c = 6; c > 0; c--) {
digitalWrite (pins [c], LOW);
delay(200);
}
delay (200);
}