// Define the LED pin const int ledPin = 9; void setup() { // Set up the LED pin as an output pinMode(ledPin, OUTPUT); } void loop() { // Turn the LED on digitalWrite(ledPin, HIGH); // Wait for 1 second (1000 milliseconds) delay(1000); // Turn the LED off digitalWrite(ledPin, LOW); // Wait for another 1 second delay(1000); }