#define buzzer 4
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(buzzer, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1000); // this speeds up the simulation
digitalWrite(buzzer, HIGH);
delay(1000);
digitalWrite(buzzer, LOW);
}