int ledm  =  8;
int ledk  =  9;
int ledh  =  10;
 

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledm,OUTPUT);
pinMode(ledk,OUTPUT);
pinMode(ledh,OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(ledm, HIGH);
digitalWrite(ledk, LOW);
digitalWrite(ledh, LOW);
Serial.println("Merah Menyala");
Serial.println("Kuning Mati");
Serial.println("Hijau Mati");
delay(3000);
Serial.println(" ");
digitalWrite(ledm, LOW);
digitalWrite(ledk, HIGH);
digitalWrite(ledh, LOW);
Serial.println("Merah Mati");
Serial.println("Kuning Menyala");
Serial.println("Hijau Mati");
delay(1000);
Serial.println(" ");
Serial.println("Merah Mati");
Serial.println("Kuning Mati");
Serial.println("Hijau Menyala");
digitalWrite(ledm, LOW);
digitalWrite(ledk, LOW);
digitalWrite(ledh, HIGH);
delay(2000);
}