How to Make a Fading LED

Introduction: How to Make a Fading LED

This project consists of two led lights and it is a more advanced version of https://www.instructables.com/id/How-to-Fade-an-LED-Arduino-Tutorial/. 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

https://create.arduino.cc/editor/kathywuuuu/0c7e8efc-1034-4282-ae44-227827f23b8d/preview

Step 4: Done!

Be the First to Share

    Recommendations

    • Retro Tech Challenge

      Retro Tech Challenge
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest
    • Rocks, Gems, and Stones Speed Challenge

      Rocks, Gems, and Stones Speed Challenge

    Comments