Light Show library for organic, calm, light display.

Dependencies:   BLE_API mbed nRF51822

Fork of mbed_blinky by Mbed

Revision:
26:8bc9984c4600
Parent:
25:d48f46d753fd
Child:
27:a55dde8334f3
--- a/light_show.h	Mon Feb 01 01:02:46 2016 +0000
+++ b/light_show.h	Mon Feb 01 01:43:59 2016 +0000
@@ -10,17 +10,24 @@
 
 extern Serial pc;
 
-const float HYSTERESIS_QUANTITY = HPI;
-const float INCREMENT = 0.05f;
+const float HYSTERESIS_QUANTITY = PI*2;
+const float INCREMENT = 0.00628f * 2;
 
 class LightShow
 {
 public:
     LightShow(Rgb*);
+    
+    /* randomize parameters of the 3 sine waves */
     void randomize_params();
     
+    /* Displays light show.
+    *  The light show is a composition of 3 sine waves for 3 channel LEDs
+    **/
     void show();
-    void simple_show(); /** sanity check **/
+    
+    /** sanity check for debugging **/
+    void simple_show();
     
 private:
     Rgb* strip;