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:
3:0ac64c4ca40f
Parent:
0:6da5625a6946
--- a/SystemState.h	Sun Jan 15 09:07:04 2012 +0000
+++ b/SystemState.h	Tue Jan 17 13:45:17 2012 +0000
@@ -31,6 +31,7 @@
   DEFINE_GET_SET_VAR( int,       BrightLevel  )
   DEFINE_GET_SET_VAR( int,       SatColorIndex)
   DEFINE_GET_SET_VAR( int,       PatternIndex )
+  DEFINE_GET_SET_VAR( int,       LightSensor  )
   
 private:
   Timeout fStateTimer;