int ledred = 8;
int ledyellow = 10;
int ledgreen = 12;
digitalWrite(ledred,LOW);
digitalWrite(ledyellow,HIGH); // on the led
delay(1000);
digitalWrite(ledyellow,LOW);
digitalWrite(ledgreen,HIGH); // on the led
delay(5000);
digitalWrite(ledgreen,LOW);
}