void setup() {
  // put your setup code here, to run once:
pinMode(2 , OUTPUT); // merah TL 1
pinMode(3 , OUTPUT); // kuning
pinMode(4 , OUTPUT); // hijau

pinMode(5 , OUTPUT); // merah TL 2
pinMode(6 , OUTPUT); // kuning
pinMode(7 , OUTPUT); // hijau

pinMode(8 , OUTPUT); // merah TL 3
pinMode(9 , OUTPUT); // kuning 
pinMode(10 ,OUTPUT); // hijau

pinMode(11 , OUTPUT); // merah TL 4
pinMode(12 , OUTPUT); // kuning 
pinMode(13 , OUTPUT); // hijau
}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(2, HIGH); // merah TL 1
digitalWrite(8, HIGH); // merah TL 3
digitalWrite(7, HIGH); // hijau  TL 2
digitalWrite(13, HIGH); // hijau TL 4
delay(5000);
digitalWrite(7, LOW); // hijau TL 2
digitalWrite(13, LOW); // hijau TL 4
digitalWrite(6, HIGH);  // kuning TL 2
digitalWrite(12, HIGH); // kuning TL 4
delay(2000);
digitalWrite(6, LOW); // kuning TL 2
digitalWrite(12, LOW); // kuning TL 4
delay(3000);
digitalWrite(2, LOW); // merah TL 1 
digitalWrite(8, LOW); // merah TL 3

digitalWrite(5, HIGH); // merah TL 2
digitalWrite(11, HIGH); // merah TL 4
digitalWrite(4, HIGH); // hijau  TL 1
digitalWrite(10, HIGH); // hijau TL 3
delay(5000);
digitalWrite(4, LOW); // hijau TL 1
digitalWrite(10, LOW); // hijau TL 3
digitalWrite(3, HIGH);  // kuning TL 1
digitalWrite(9, HIGH); // kuning TL 3
delay(2000);
digitalWrite(3, LOW); // kuning TL 1
digitalWrite(9, LOW); // kuning TL 3
delay(3000);
digitalWrite(5, LOW); // merah TL 2
digitalWrite(11, LOW); // merah TL 4
}