const int ALED1 = 1;
const int ALED2 = 2;
const int ALED3 = 3;
const int BLED1 = 5;
const int BLED2 = 6;
const int BLED3 = 7;
const int CLED1 = 8;
const int CLED2 = 9;
const int CLED3 = 10;
void setup() {
// put your setup code here, to run once:
pinMode(ALED1, OUTPUT);
pinMode(ALED2, OUTPUT);
pinMode(ALED3, OUTPUT);
pinMode(BLED1, OUTPUT);
pinMode(BLED2, OUTPUT);
pinMode(BLED3, OUTPUT);
pinMode(CLED1, OUTPUT);
pinMode(CLED2, OUTPUT);
pinMode(CLED3, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ALED3, HIGH);
digitalWrite(BLED3, HIGH);
digitalWrite(CLED3, HIGH);
delay(1000);
digitalWrite(CLED3, LOW);
digitalWrite(CLED2, HIGH);
delay(500);
digitalWrite(CLED2, LOW);
digitalWrite(CLED1, HIGH);
delay(2000);
digitalWrite(CLED1, LOW);
digitalWrite(BLED3, HIGH);
delay(1000);
digitalWrite(BLED3, LOW);
digitalWrite(CLED3, HIGH);
digitalWrite(BLED2, HIGH);
delay(500);
digitalWrite(BLED2, LOW);
digitalWrite(BLED1, HIGH);
delay(2000);
digitalWrite(BLED1, LOW);
digitalWrite(ALED3, HIGH);
delay(1000);
digitalWrite(ALED3, LOW);
digitalWrite(CLED3, HIGH);
digitalWrite(BLED3, HIGH);
digitalWrite(ALED2, HIGH);
delay(500);
digitalWrite(ALED2, LOW);
digitalWrite(ALED1, HIGH);
delay(2000);
digitalWrite(ALED1, LOW);
}