Multiple Digital LED Fading
Thursday October 1, 2009
Fading more than one LED's with digital pins on a Arduino is not always easy. However, by using my Software Timer Library, I was able to fade multiple lights without much problems.
In the first example, the lights go from 0 to 255, then back to 0. In the second example, the lights fade in/out at different speeds.
You can get the code here