#define ledMerah 2
#define ledHijau 3
#define ledKuning 4

#define ledMerah2 5
#define ledKuning2 6
#define ledHijau2 7

#define ledMerah3 8
#define ledKuning3 9
#define ledHijau3 10


void setup() {
    
  // put your setup code here, to run once:
  pinMode(ledMerah, OUTPUT);
  pinMode(ledHijau, OUTPUT);
  pinMode(ledKuning, OUTPUT);
  pinMode(ledMerah2, OUTPUT);
  pinMode(ledHijau2, OUTPUT);
  pinMode(ledKuning2, OUTPUT);
  pinMode(ledMerah3, OUTPUT);
  pinMode(ledHijau3, OUTPUT);
  pinMode(ledKuning3, OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(ledHijau, HIGH);
  digitalWrite(ledMerah, LOW);
  digitalWrite(ledKuning, LOW);
  digitalWrite(ledMerah2, HIGH);
  digitalWrite(ledKuning2, LOW);
  digitalWrite(ledHijau2, LOW);
  digitalWrite(ledMerah3, HIGH);
  digitalWrite(ledKuning3, LOW);
  digitalWrite(ledHijau3, LOW);
  delay(1000);

  digitalWrite(ledHijau2, HIGH);
  digitalWrite(ledMerah, HIGH);
  digitalWrite(ledKuning, LOW);
  digitalWrite(ledHijau, LOW);
  digitalWrite(ledMerah2, LOW);
  digitalWrite(ledKuning2, LOW);
  digitalWrite(ledMerah3, HIGH);
  digitalWrite(ledKuning3, LOW);
  digitalWrite(ledHijau3, LOW);
  delay(1000);

  digitalWrite(ledHijau3, HIGH);
  digitalWrite(ledMerah, HIGH);
  digitalWrite(ledKuning, LOW);
  digitalWrite(ledHijau, LOW);
  digitalWrite(ledMerah2, HIGH);
  digitalWrite(ledKuning2, LOW);
  digitalWrite(ledHijau2, LOW);
  digitalWrite(ledMerah3, LOW);
  digitalWrite(ledKuning3, LOW);
  
  delay(1000);

}