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/ZMotionDetector.cpp	Sun Jan 15 09:07:04 2012 +0000
+++ b/ZMotionDetector.cpp	Tue Jan 17 13:45:17 2012 +0000
@@ -14,7 +14,7 @@
 bool
 ZMotionDetector::IsMotionDetected()
 {
-    HoldInterrupts noir;
+//    HoldInterrupts noir;
     
     fMDPort.putc('a');  // Read Motion status
     return fMDPort.getc() == 'Y';