// John Carlo D. Martin
// BSCPE4A
const int FirstLed = 3;
const int SecondLed = 4;
const int ThirdLed = 5;
void setup() {
pinMode(FirstLed, OUTPUT);
pinMode(SecondLed, OUTPUT);
pinMode(ThirdLed, OUTPUT);
}
void loop() {
for (int counter = 0; counter < 5; ++counter) {
digitalWrite(FirstLed, HIGH);
delay(500);
digitalWrite(FirstLed, LOW);
digitalWrite(SecondLed, HIGH);
delay(1000);
digitalWrite(SecondLed, LOW);
digitalWrite(ThirdLed, HIGH);
delay(1000);
digitalWrite(ThirdLed, LOW);
}
delay(2000);
}