- Arduino Board
- Resistor, anything between 220 ohm to 1K ohm
To build the circuit, connect one end of the resistor to Arduino pin 13. Connect the long leg of the LED (the positive leg, called the anode) to the other end of the resistor. Connect the short leg of the LED (the negative leg, called the cathode) to the Arduino GND, as shown in the diagram and the schematic below.
Most Arduino boards already have an LED attached to pin 13 on the board itself. If you run this example with no hardware attached, you should see that LED blink.
In my case i use 5 LED to blink and give some delay betwitten every blink of single LED. Try to modify the code and make somethink new as you like.