for thww WS2811 RGB

Dependencies:   mbed

Fork of WS2811 by Bulme Projekt

Revision:
2:ccf3f0c36dae
Parent:
1:165513b4e20a
Child:
3:2fbb2f0e79fb
--- a/WS2811.h	Mon Apr 18 07:38:23 2016 +0000
+++ b/WS2811.h	Fri Apr 29 07:46:25 2016 +0000
@@ -16,9 +16,14 @@
 
 #define HIGH_SIGNAL 4       // Logic 1
 #define LOW_SIGNAL 1        // Logic 0
-#define DELAY 0.1          
-#define LED_MAX 3           // define the RGBs you have
-#define OFF_DELAY 0.01
+#define DELAY 0.000000000001          
+#define LED_MAX 57           // define the RGBs you have
+#define OFF_DELAY 0.001
+
+// define a cleary blue light
+#define Green   100
+#define Red     255
+#define Blue    125
 
 void sendColours(int pos, uint8_t r, uint8_t g, uint8_t b);
 void clear();