int tombol1=6;
int tombol2=7;
int buzzer=13;
int led_merah=5;
int led_kuning=4;
int led_hijau=3;
int led_biru=2;
int led_pink=1;
int led_putih=0;

void setup() {
  // put your setup code here, to run once:
pinMode(tombol1, INPUT);
pinMode(tombol2, INPUT);
pinMode(led_merah, OUTPUT);
pinMode(led_kuning,OUTPUT);
pinMode(led_hijau, OUTPUT);
pinMode(led_biru, OUTPUT);
pinMode(led_pink, OUTPUT);
pinMode(led_putih, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
int statustombol1=digitalRead(tombol1);

 if(statustombol1==HIGH){
  digitalWrite(led_merah, HIGH);{
  tone(13,300,200);
  delay(250);}
  digitalWrite(led_kuning, LOW);
  digitalWrite(led_hijau, HIGH);{
  tone(13,500,200);
  delay(250);}
  digitalWrite(led_biru, LOW);
  digitalWrite(led_pink, HIGH);{
  tone(13,700,200);
  delay(250);}
  digitalWrite(led_putih, LOW);
  }

int statustombol2=digitalRead(tombol2);

if(statustombol2=HIGH){
  digitalWrite(led_merah, LOW);
  digitalWrite(led_kuning, HIGH);{
  tone(13,800,200);
  delay(250);}
  digitalWrite(led_hijau, LOW);
  digitalWrite(led_biru, HIGH);{
  tone(13,700,200);
  delay(250);}
  digitalWrite(led_pink, LOW);
  digitalWrite(led_putih, HIGH);{
  tone(13,600,200);
  delay(250);}
}
}