Tag Archives: rgb

Arduino code for smooth fading rgb leds using pwm

Code / Program for Smoothly Fading of many RGB colours using an Arduino PWM and a non blocking program! I decided I’d bang this together quickly for anyone interested. It uses a non blocking style program by counting out timers to run functions on time and only when needed. I hope it is easy to follow.

Share

Program for Fading between colours smoothly using PWM an RGB LED and an Arduino Uno

UPDATE! See my updated version of this code here I was just messing around with some cheap RGB Leds I got off ebay and decided to replicate the smooth colour changing I seen on some Ikea lamp a while back… There are more complicated ways of doing this with less program “bloat”, for lack of […]

Share