// Define the GPIO pin
#define LED_PIN 13 // Using GPIO 13 instead of 34 for output
void setup() {
// Initialize serial communication
Serial.begin(115200);
// Set the LED_PIN as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_PIN, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED off
digitalWrite(LED_PIN, LOW);
delay(1000); // Wait for 1 second
}