void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH); // sets the digital pin 2 on
delay(1000); // waits for a second
digitalWrite(2, LOW); // sets the digital pin 2 off
delay(1000); // waits for a second
}