int i;
void setup() {
// initialize the digital pin as output.
for(i=2;i<10;i++)
{
pinMode(i, OUTPUT);
}
}
void loop() {
for(i=2;i<10;i++)
{
digitalWrite(i, HIGH); // set the LED on
delay(100); // wait for a second
digitalWrite(i, LOW); // set the LED off
}
}