// Define the pin where the LED is connected
const int ledPin = 7;
void setup() {
// Initialize the digital pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Blink the LED 10 times
for (int i = 0; i < 10; i++) {
digitalWrite(ledPin, HIGH); // Turn the LED on (HIGH is the voltage level)
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off by making the voltage LOW
delay(1000); // Wait for 1 second
}
while(true);
}