Fading. It is also hard.Without programming, it is possible but it is not efficient. The circuits aren't small. In fact, most fading circuits use large capacitors that take up space. Not pleasing.
Put these two together and it is extremely tough to make.
In the end, I must subject to programming.
To be specific in this case,
This project involves Pulse Width Modulation and is achieved through the use of an Arduino, a computer and a breadboard with LEDs. Inverting a signal will be achieved through the use of sinking and sourcing.
Update: I changed the code a bit. It now fades a bit faster and a bit better and smoother to view. If you downloaded the code look again at the code.
Step 1: What You Need.
6 LEDs (possibly more.)
Breadboard and/or protoboard
Step 2: Programming.
Step 3: Circuitry.
Step 4: Fading Away!
Step 5: Sinking and Sourcing.
By sinking, I mean from output pin to ground. By sourcing, I mean from positive to output pin.
Think of it this way. Power can flow from the LED to the pin in sourcing. In sinking, power comes from the pin. Power is always coming into the pin so, when the pin goes high, the current "passes" through the LED to the pin thus, turning it off.
To most people, they should say, "What difference does it make?"
To moi, a random person, it means, "I can invert signals thus create more randomness!"
Remember, to avoid using a resistor (living dangerously) power it from 3.3 volts.
Step 6: Doing So...
Take pin 6 and source it.
Take pin 9 and source it.
Then, take pin 11 and source it.
Leave the rest where they are.
Step 7: Really Done.