#define button1 2
#define button2 3
#define button3 4 
#define button4 5
#define button5 6
#define button6 7
#define button7 8

#define buzzer1 0
#define buzzer2 1
#define buzzer3 9
#define buzzer4 10
#define buzzer5 11
#define buzzer6 12
#define buzzer7 13

int buttonState1 = 0;
int buttonState2 = 0;
int buttonState3 = 0;
int buttonState4 = 0;
int buttonState5 = 0;
int buttonState6 = 0;
int buttonState7 = 0;

void setup() {
  // put your setup code here, to run once:
  pinMode(button1, INPUT);
  pinMode(button2, INPUT);
  pinMode(button3, INPUT);
  pinMode(button4, INPUT);
  pinMode(button5, INPUT);
  pinMode(button6, INPUT);
  pinMode(button7, INPUT);

  pinMode(buzzer1, OUTPUT);
  pinMode(buzzer2, OUTPUT);
  pinMode(buzzer3, OUTPUT);
  pinMode(buzzer4, OUTPUT);
  pinMode(buzzer5, OUTPUT);
  pinMode(buzzer6, OUTPUT);
  pinMode(buzzer7, OUTPUT);
  
}

void loop() {
  // put your main code here, to run repeatedly:
  buttonState1 = digitalRead(button1);
  buttonState2 = digitalRead(button2);
  buttonState3 = digitalRead(button3);
  buttonState4 = digitalRead(button4);
  buttonState5 = digitalRead(button5);
  buttonState6 = digitalRead(button6);
  buttonState7 = digitalRead(button7);

  if(buttonState1 == HIGH) {
    digitalWrite(LED_BUILTIN, HIGH);
    tone(buzzer3, 261.626, 255);
  }
}
$abcdeabcde151015202530354045505560fghijfghij
$abcdeabcde151015202530354045505560fghijfghij