#define BUZZER_PIN 4  // GPIO pin connected to buzzer

void setup() {
  pinMode(BUZZER_PIN, OUTPUT);  // Set buzzer pin as output
}

void loop() {
  digitalWrite(BUZZER_PIN, HIGH);  // Turn buzzer ON
  delay(1000);                     // Wait 1 second
  digitalWrite(BUZZER_PIN, LOW);   // Turn buzzer OFF
  delay(1000);                     // Wait 1 second
}
