/*
when using the WOKWI simulator, use "wokwi-esp32-devkit-v1"
which has a built-in LED on pin #2, not "board-esp32-devkit-c-v4"
which does not have a built-in LED. Change 13 to 2 for WOKWI.
*/
void setup() {
// Initialize the onboard LED (light) connected to pin #13 (change to 2 for Wokwi)
pinMode(33, OUTPUT); // LED onboard
}
void loop() {
// Main code to run repeatedly:
digitalWrite(33, HIGH); // Turn LED on
delay(1000); // Wait 1000 ms (1 second)
digitalWrite(33, LOW); // Turn LED off
delay(1000); // Wait 1000 ms (1 second)
}