Richard Thompson / Multi_WS2811

Dependents:   CubicHand

Fork of Multi_WS2811 by Ned Konz

Files at this revision

API Documentation at this revision

Comitter:
Tomo2k
Date:
Tue Apr 01 11:23:33 2014 +0000
Parent:
0:a8535703f23b
Child:
2:1c2c9c8788a8
Commit message:
Added support for FRDM-KL46Z

Changed in this revision

WS2811.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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"