Source code for the Curilights Controller. See http://www.saccade.com/writing/projects/CuriController/ for details.
Dependencies: FatFileSystem mbed
This is the source code for the Curilights controller. This lets you interactively control a string of Curilights. It provides a simple click-wheel user interface for changing colors, brightness and behavior. It responds to movement and lighting.
Finished Controller
System Block Diagram
Diff: UIMenu.cpp
- Revision:
- 4:cfef06d8bb96
- Parent:
- 3:0ac64c4ca40f
--- a/UIMenu.cpp Tue Jan 17 13:45:17 2012 +0000 +++ b/UIMenu.cpp Mon Feb 11 05:04:18 2013 +0000 @@ -69,7 +69,11 @@ fLCD->fade_backlight( false ); gScreenTimer.detach(); } - + +bool PushKnobUI::IsSleeping() const +{ + return ! fLCD->is_backlight_on(); +} //----------------------------------------------------