//pin to for the Red LED
//pin to for the Yellow LED
//pin to for the Green LED
int short_delay;
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
short_delay = 400;
}
void loop() {
//Green LED on for 3 seconds
digitalWrite(4, HIGH);
delay(3000);
digitalWrite(4, LOW);
//Blink Yellow LED three times with interval of 0.300 seconds
digitalWrite(3, HIGH);
delay(short_delay);
digitalWrite(3, LOW);
delay(short_delay);
digitalWrite(3, HIGH);
delay(short_delay);
digitalWrite(3, LOW);
delay(short_delay);
digitalWrite(3, HIGH);
delay(short_delay);
digitalWrite(3, LOW);
delay(short_delay);
//Red LED on for 3 seconds
digitalWrite(2, HIGH);
delay(3000);
digitalWrite(2, LOW);
}