This solution provides a method to fade RGB colors for applications such as ambient lighting and LCD colors. The algorithm provided allows for smooth fading between colors with no decrease in brightness/intensity using the concept of an RGB cube.

If your RGB applications reacquire smooth color fades, this solution is for you. ...

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles on embedded development to gain critical knowledge in new systems and speed up development.
Files size: 4.65 KB
RAM usage:Not Set
Avg Flash:Not Set
Source #1 - Members Only
Source #2 - Members Only