const int ledPin = 9; // You can change this to any digital pin
void setup() {
// Initialize the LED pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(ledPin, HIGH);
delay(1000); // Wait for 1 second (1000 milliseconds)
// Turn the LED off
digitalWrite(ledPin, LOW);
delay(1000); // Wait for 1 second (1000 milliseconds)
}