const int ledPin = 13; // Pin number for the LED (use built-in LED on most Arduino boards)
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(500); // Wait for 500 milliseconds (0.5 seconds)
digitalWrite(ledPin, LOW); // Turn the LED off
delay(500); // Wait for another 500 milliseconds (0.5 seconds)
}