int ledMerah = 2;
int ledKuning =3;
int ledHijau =4;
void setup( ){
pinMode(ledMerah, OUTPUT);
pinMode(ledKuning, OUTPUT);
pinMode(ledHijau, OUTPUT);
}
void loop(){
digitalWrite(ledMerah,HIGH);
delay(5000);
digitalWrite(ledMerah, LOW);
digitalWrite(ledKuning, HIGH);
delay(500);
digitalWrite(ledKuning,LOW);
digitalWrite(ledHijau,HIGH);
delay(3000);
digitalWrite(ledHijau, LOW);
digitalWrite(ledKuning, HIGH);
delay(250);
digitalWrite(ledKuning,LOW);
}