// Pin connected to the LED
const int ledpin = 8;
// Setup function runs once the start
void setup() {
// Initialize the digital pin as an output
pinMode(ledpin, OUTPUT);
}
// Loop functuion runs repeatedly
void loop() {
// Turn the LED on
digitalWrite(ledpin, HIGH);
// Wait for 2 second
delay(2000);
// Turn the LED off
digitalWrite(ledpin, LOW);
// Wait for 2 second
delay(2000);
}