int pin2 = 2;
void setup()
{
pinMode(2, OUTPUT); // Set pin 2 as OUTPUT
}
void loop()
{
digitalWrite(2, HIGH); // Turn on the LED on pin 2
delay(1000); // Wait for 1 second
digitalWrite(2, LOW); // Turn off the LED on pin 2
delay(1000); // Wait for 1 second
}