const int LED_PIN = 2; // Define the pin the LED is connected to
void setup() {
pinMode(LED_PIN, OUTPUT); // Set the LED pin as an output
Serial.begin(115200); // Initialize serial communication at 115200 baud rate
Serial.println("Setup complete");
}
void loop() {
Serial.println("LED ON");
digitalWrite(LED_PIN, HIGH); // Turn on the LED
delay(5000); // Wait for 5 seconds
Serial.println("LED OFF");
digitalWrite(LED_PIN, LOW); // Turn off the LED
delay(10000); // Wait for 10 seconds
}