// Define the pin connected to the LED
#define LED_PIN 2// You can change this pin according to your wiring
void setup() {
// Initialize the LED pin as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on (HIGH)
digitalWrite(LED_PIN, HIGH);
delay(1000); // Wait for 1 second
// Turn the LED off (LOW)
digitalWrite(LED_PIN, LOW);
delay(1000); // Wait for 1 second
}