// For this circuit make sure you have an LED and a 100-300 ohm
// resistor in series on your breadboard.
// Connect the positive end of the LED
// to pin 3
int ledPin=3;
void setup() {
// Pin 3 (variable ledPin) is going to be for OUTPUT.
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn ON
digitalWrite(ledPin, HIGH);
// Wait for 1.5 seconds with the light on (1500 ms).
delay(1500);
// Turn OFF
digitalWrite(ledPin, LOW);
// Wait for 1 second
delay(1000);
}