#define led_merah 14
#define led_kuning 12
#define led_hijau 13
#define waktu 1000
void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(14, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(14, HIGH);
delay(waktu );
digitalWrite(14, LOW);
digitalWrite(12, HIGH);
delay(waktu);
digitalWrite(12, LOW);
digitalWrite(13, HIGH);
delay(waktu);
digitalWrite(13, LOW);
digitalWrite(12, HIGH);
delay(waktu);
digitalWrite(12, LOW);
}