- on Hobby & Modelling
- Published in issue 7/2008 on page 91
The overall effect produced by this project is a glowing sequence of lights changing slowly from one colour to the next. The microcontroller cycles through randomly generated values of red, green and blue hues of light to produce a variety of nice colours. The software implemented on the controller interpolates from one shade to another, each colour channel being treated independently. Light intensity is controlled by means of pulse width modulation (PWM) for each colour.