int L1 = 13;
int L2 = 12;
int L3 = 11;
int L4 = 10;
int L5 = 9;
int L6 = 8;
int L7 = 7;
void setup() {
pinMode(L1, OUTPUT);
pinMode(L2, OUTPUT);
pinMode(L3, OUTPUT);
pinMode(L4, OUTPUT);
pinMode(L5, OUTPUT);
pinMode(L6, OUTPUT);
pinMode(L7, OUTPUT);
}
void loop()
{
digitalWrite(L1, HIGH);
delay(100);
digitalWrite(L2, HIGH);
digitalWrite(L1, LOW);
delay (100);
digitalWrite(L3, HIGH);
digitalWrite(L2, LOW);
delay(100);
digitalWrite(L4, HIGH);
digitalWrite(L3, LOW);
delay(100);
digitalWrite(L5, HIGH);
digitalWrite(L4, LOW);
delay(100);
digitalWrite(L6, HIGH);
digitalWrite(L5, LOW);
delay(100);
digitalWrite(L7, HIGH);
digitalWrite(L6, LOW);
delay(100);
digitalWrite(L6, HIGH);
digitalWrite(L7, LOW);
delay(100);
digitalWrite(L5, HIGH);
digitalWrite(L6, LOW);
delay(100);
digitalWrite(L4, HIGH);
digitalWrite(L5, LOW);
delay(100);
digitalWrite(L3, HIGH);
digitalWrite(L4, LOW);
delay(100);
digitalWrite(L2, HIGH);
digitalWrite(L3, LOW);
delay(100);
digitalWrite(L2, LOW);
}