Optimised fork of bikeNomad's WS2811 LED control library. Supports KL25Z and KL46Z

Dependents:   CubicHand

Fork of Multi_WS2811 by Ned Konz

Optimised to use far less RAM than the original.

Capable of running up to 8 strings of 240 LEDs each with plenty of RAM to spare on the KL46Z.

Should run at least three strings of 240 LEDs on the KL25Z (RAM limited)

Revision:
1:7b2d0ea091fb
Parent:
0:a8535703f23b
Child:
2:1c2c9c8788a8
--- a/WS2811.cpp	Sat Jan 04 00:40:08 2014 +0000
+++ b/WS2811.cpp	Tue Apr 01 11:23:33 2014 +0000
@@ -14,7 +14,12 @@
 //        40 LEDs: 7680 + 40*3 = 7800 bytes
 //        80 LEDs: 7680 + 80*3 = 7920 bytes
 
+#if defined(TARGET_KL25Z)
 #include "MKL25Z4.h"
+#elif defined(TARGET_KL46Z)
+#include "MKL46Z4.h"
+#endif
+
 #include "LedStrip.h"
 #include "WS2811.h"