int buz = 5;
void setup()
{
pinMode ( buz,OUTPUT);
}
void loop()
{
digitalWrite(buz,HIGH);
delay(2000); // this speeds up the simulation
digitalWrite(buz,LOW);
delay(5000); // this speeds up the simulation
}
Loading
esp32-devkit-c-v4
esp32-devkit-c-v4