// Define the LED pin (usually pin 13 on most Arduino boards)
const int ledPin = 13;
void setup() {
// Initialize the digital pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn the LED on (HIGH is the voltage level)
digitalWrite(ledPin, HIGH);
// Wait for 1000 milliseconds (1 second)
delay(1000);
// Turn the LED off by making the voltage LOW
digitalWrite(ledPin, LOW);
// Wait for 1000 milliseconds (1 second)
delay(1000);
}