const int ledPin = 23; // ledPin refers to ESP32 GPIO 23
void setup() {
pinMode(ledPin, OUTPUT); // initialize digital pin ledPin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}