// Pin numbers connected to the LEDs
const int ledPin1 = 13;
const int ledPin2 = 12;
void setup() {
// Initialize the LED pins as outputs
pinMode(ledPin1, OUTPUT);
pinMode(ledPin2, OUTPUT);
}
void loop() {
// Turn on LED 1
digitalWrite(ledPin1, HIGH);
delay(1000); // Wait for 1 second
// Turn off LED 1 and turn on LED 2
digitalWrite(ledPin1, LOW);
digitalWrite(ledPin2, HIGH);
delay(1000); // Wait for 1 second
// Turn off LED 2
digitalWrite(ledPin2, LOW);
delay(1000); // Wait for 1 second
}