// Set up pin numbers
int ledPin = 13; // This is the digital pin connected to the resistor and LED
void setup() {
// Set the pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn on the LED
digitalWrite(ledPin, HIGH);
delay(1000); // Keep it on for 1 second (1000 milliseconds)
// Turn off the LED
digitalWrite(ledPin, LOW);
delay(1000); // Keep it off for 1 second
}