byte led1 = 13; //merah bawah
byte led2 = 12; //kuning bawah
byte led3 = 11; //Hijau bawah
byte led4 = 10; //Merah kiri
byte led5 = 9; //Kuning Kiri
byte led6 = 8; //Hijau Kiri
byte led7 = 7; //Merah kanan
byte led8 = 6; //Kuning kanan
byte led9 = 1; //Hijau Kanan

void setup() {
  // put your setup code here, to run once:
pinMode(led1, OUTPUT); 
pinMode(led2, OUTPUT); 
pinMode(led3, OUTPUT); 
pinMode(led4, OUTPUT); 
pinMode(led5, OUTPUT);
pinMode(led6, OUTPUT);
pinMode(led7, OUTPUT);
pinMode(led8, OUTPUT);
pinMode(led9, OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(led3, HIGH); //Hijau bawah
digitalWrite(led4, HIGH); //Merah Kiri
digitalWrite(led7, HIGH); //Merah Kanan
delay(5000); 
digitalWrite(led3, LOW); //Hijau Atas
digitalWrite(led7, LOW); //Merah Kanan

digitalWrite(led2, HIGH); //Kuning bawah
digitalWrite(led8, HIGH); //kuning Kanan
delay(800);
digitalWrite(led2, LOW); //Kuning bawah
digitalWrite(led8, LOW); //kuning Kanan


//KONDISI 2
digitalWrite(led9, HIGH); //Hijau Kanan
digitalWrite(led4, HIGH); //Merah Kiri
digitalWrite(led1, HIGH); //Merah Atas
delay(5000); 
digitalWrite(led9, LOW); //Hijau Kanan
digitalWrite(led4, LOW); //Merah Kiri

digitalWrite(led8, HIGH); //kuning Kanan
digitalWrite(led5, HIGH); //Kuning Kiri
delay(800);
digitalWrite(led8, LOW); //kuning Kanan
digitalWrite(led5,LOW); //Kuning Kiri


//KONDISI 3
digitalWrite(led6, HIGH); // Hijau Kiri
digitalWrite(led7, HIGH); //Merah Kanan
digitalWrite(led1, HIGH); //Merah bawah
delay(5000);
digitalWrite(led6, LOW); //Hijau Kiri
digitalWrite(led1, LOW); //Merah Atas

digitalWrite(led2, HIGH); //Kuning bawah
digitalWrite(led5, HIGH); //Kuning Kiri
digitalWrite(led8, HIGH); //kuning Kanan
delay(800);
digitalWrite(led2, LOW); //Kuning bawah
digitalWrite(led5,LOW); //Kuning Kiri



}