// Define the LED pin
int ledPin = 15; // Use the appropriate pin for your ESP 32 NodeMCU board
void setup() {
// Initialize the LED pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn on the LED
digitalWrite(ledPin, HIGH);
delay(1000); // Wait for 1 second
// Turn off the LED
digitalWrite(ledPin, LOW);
delay(2000); //
}