int ledPin = 2; // LED connected to pin 4
void setup() {
pinMode(ledPin, OUTPUT); //Pin 13 is set as OUTPUT
}
void loop() {
digitalWrite(ledPin, HIGH); // set the LED ON
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED OFF
delay(1000); // wait for a second
}