Example program to cycle the RGB LED on the mbed application board through all colours
Dependencies: C12832_lcd LCD_fonts mbed
Fork of app-board-RGB by
Test Program to show the RGB Led on the mbed Lab Board
The color is changed by Pot 2, the value by Pot 1.
The program use a function to convert hue , saturation and value to RGB.
With this parameters you can change the color thru the rainbow. see http://en.wikipedia.org/wiki/HSL_and_HSV
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:139f52e5e15c | 2012-12-05 | dreschpe | The lcd lib don't claim the printf now, so we have to call LCD.printf |
2:52c13333401e | 2012-10-20 | dreschpe | change ADC scaling |
1:670665e77763 | 2012-10-20 | dreschpe | Test program for the RGB led on the mbed Lab Board V1.0; |
0:f86c572491c3 | 2012-10-15 | chris | Example program from the mbed application board, showing the RGB LED cycling through all colours. |