// ESP32 Blink LED Example for Wokwi
// LED connected to GPIO 33
#define LEDPIN 2
void setup() {
// Initialize GPIO 33 as an output
pinMode(2, OUTPUT);
}
void loop() {
// Blink the LED
digitalWrite(2, HIGH); // Turn the LED on (HIGH is the voltage level)
delay(1000); // Wait for 1 second
digitalWrite(33, LOW); // Turn the LED off by making the voltage LOW
delay(1000); // Wait for 1 second
}