int p;
void setup() {
for (p=2; p<=9; p++){
pinMode(p, OUTPUT);
}
}
void loop() {
for(p=2; p<=9; p++){
digitalWrite(p, HIGH);
delay(500);
digitalWrite(p, LOW);
}
}
int p;
void setup() {
for (p=2; p<=9; p++){
pinMode(p, OUTPUT);
}
}
void loop() {
for(p=2; p<=9; p++){
digitalWrite(p, HIGH);
delay(500);
digitalWrite(p, LOW);
}
}