// C++ code
//
int pinLed[9] = {12,11,10,9,8,7,6,5,4};
int numeroLed;
void setup()
{
int x;
for (x = 0; x <=8; x++) {
pinMode(pinLed[x], OUTPUT);
}
}
void lopp()
{
for (numeroLed=0; numeroLed<=8;
numeroLed=numeroLed+1) {
digitalWrite(pinLed[numeroLed], HIGH);
delay(100);
}
delay(1000);
}