/* Aisa's Simple Blinking LED Program * LED blinks in 3 seconds time interval. * Ideally we should the LED to digital pin number 13, * because it has a resistor attached to it. */ int ledPin = 13; // Pin number which is connected to LED's anode void setup() { pinMode(ledPin, OUTPUT); // Sets the digital pin as output } void loop() { digitalWrite(ledPin, HIGH); // Sets the LED on delay(1500); // Waits for a second and a half digitalWrite(ledPin, LOW); // Sets the LED off delay(1500); // Waits for a second and a half }