WS2812

Dependents:   EITI_Neopixel

Revision:
3:adfd3b002caa
Parent:
2:6e647820f587
diff -r 6e647820f587 -r adfd3b002caa WS2812.h
--- a/WS2812.h	Thu Feb 12 20:24:15 2015 +0000
+++ b/WS2812.h	Mon Dec 13 08:57:11 2021 +0000
@@ -21,7 +21,9 @@
 
 #include "mbed.h"
 
-#define FRAME_SIZE 24
+#define TYPE_BANDEAU_NEO 4
+#define TYPE_BANDEAU_NONO 3
+#define FRAME_SIZE_LED  8
 
 //!Library for the WS2812 RGB LED with integrated controller
 /*!
@@ -43,7 +45,7 @@
     * @param oneLow How many NOPs to insert to ensure T1L is properly generated. See library description for more information.
     *
     */
-    WS2812(PinName pin, int size, int zeroHigh, int zeroLow, int oneHigh, int oneLow);
+    WS2812(PinName pin, int size, int zeroHigh, int zeroLow, int oneHigh, int oneLow, int typeBandeau = 0);
 
     /*!
     Destroys instance.