for thww WS2811 RGB

Dependencies:   mbed

Fork of WS2811 by Bulme Projekt

Revision:
4:46b52a6a943b
Parent:
3:2fbb2f0e79fb
--- a/WS2811.h	Sat Jun 25 18:53:38 2016 +0000
+++ b/WS2811.h	Wed Nov 23 19:41:34 2016 +0000
@@ -12,14 +12,15 @@
 *
 *   bit: 255 brightest 
 *   bit: 0 darkest
-*/#include "mbed.h"
+*/
+#include "mbed.h"
 
-#define HIGH_SIGNAL 4       // Logic 1
+#define HIGH_SIGNAL 9       // Logic 1
 #define LOW_SIGNAL 1        // Logic 0
-#define DELAY 0.0000000000001   
-
+#define DELAY 0.00000000001   
+  
 ////////////////////       
-#define LED_MAX 60//           // switch the value for your number of pixels
+#define LED_MAX 1//           // switch the value for your number of pixels
 ////////////////////
 #define middle 29//           // define the mid of the pixels: to make it work middle-1
 ///////////////////