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

/media/uploads/isonno/nxp3872_controllerclose.jpg

System Block Diagram

/media/uploads/isonno/blockdiagram.png

Revision:
1:d1da77023e6a
Parent:
0:6da5625a6946
Child:
3:0ac64c4ca40f
--- a/UserInterface.h	Thu Dec 29 01:59:53 2011 +0000
+++ b/UserInterface.h	Sun Jan 15 09:07:04 2012 +0000
@@ -9,6 +9,10 @@
 #include "UIMenu.h"
 #endif
 
+#ifndef _SETTINGSMENU_
+#include "SettingsMenu.h"
+#endif
+
 class HomeMenu;
 class LightString;
 
@@ -35,6 +39,7 @@
     bool fLightsOn;
 };
 
+// PatternSelector lets you choose patterns stored on the SD card
 typedef vector<uint32_t> Pattern;
 
 class PatternSelector : public ControllerUI
@@ -148,6 +153,7 @@
     virtual void AttachButton( PushButton * button ) { button->attach( this, &HomeMenu::KnobPushed ); }
     
     LightController fLightController;
+    SettingsMenu fSettingsMenu;
 
 private:
     bool fForcedOff;