void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(12, OUTPUT);
Serial.println("Hello, ESP32!");
}
void loop() {
tone(12,1000);
delay(1000);
noTone(12);
delay(1000);
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}