//Code:
// Define a custom pin for the LED
const int ledPin = 12; // You can change this to any other digital
//pin you prefer
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);
delay(1000); // Wait for a second
// Turn the LED off (LOW is the voltage level)
digitalWrite(ledPin, LOW);
delay(1000); // Wait for a second
}