Introduction: How to Make a Fading LED

This project consists of two led lights and it is a more advanced version of I added another led to this project, using a different color light.

Step 1: Prepare Your Materials

-arduino leonardo x1

-breadboard x1

-LED x2

-220 Ohm resistor x2

-wires x3

Step 2: Plug the Wires and Led

Plug in the wires as shown above. The led have two pins; the positive end of a led is called anode and it is the longer leg, and the negative which is called cathode is the one with a shorter leg. Plug the longer leg on the bottom and the shorter leg on the top.

Step 3: Code

Step 4: Done!