const int lampuMerah = 11;
const int lampuKuning = 10;
const int lampuHijau = 9;
void setup() {
pinMode(lampuMerah, OUTPUT);
pinMode(lampuKuning, OUTPUT);
pinMode(lampuHijau, OUTPUT);
// put your setup code here, to run once:
}
void loop() {
digitalWrite(lampuMerah, HIGH);
delay(10000);
digitalWrite(lampuMerah, LOW);
digitalWrite(lampuKuning, HIGH);
delay(3000);
digitalWrite(lampuKuning, LOW);
digitalWrite(lampuHijau, HIGH);
delay(10000);
digitalWrite(lampuHijau, LOW);
digitalWrite(lampuKuning, HIGH);
delay(2000);
digitalWrite(lampuKuning, LOW);
// put your main code here, to run repeatedly:
}