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
--- a/rgb_led.cpp	Mon Feb 01 01:02:46 2016 +0000
+++ b/rgb_led.cpp	Mon Feb 01 01:43:59 2016 +0000
@@ -1,13 +1,13 @@
 #include "rgb_led.h"
 
-Rgb::Rgb(PinName r, PinName g, PinName b, Serial* pc):
-    red(r), green(g), blue(b), pc(pc) {}
+Rgb::Rgb(PinName r, PinName g, PinName b):
+    red(r), green(g), blue(b) {}
 
 void Rgb::init()
 {
-    red.period(0.01f);
-    green.period(0.01f);
-    blue.period(0.01f);
+    red.period(0.001f);
+    green.period(0.001f);
+    blue.period(0.001f);
 }
 
 void Rgb::write(int channel, float intensity)