for led jacket

Dependents:   ws2812test

Fork of WS2812 by Rendy Devara

Revision:
1:8910a1fcbdb0
Parent:
0:f080cb888db6
Child:
2:645ab1279245
--- a/WS2812.cpp	Sat Dec 10 08:18:58 2016 +0000
+++ b/WS2812.cpp	Sat Dec 10 09:18:10 2016 +0000
@@ -247,4 +247,12 @@
 {
     writeColor(RGB);
     sendReset();
+}
+void WS2812::sendColors(uint32_t * ColorBuffer)
+{
+    for(int x=0;x<LED_Qty;x++)
+    {
+        writeColor(*(&ColorBuffer[x]));
+    }
+    sendReset();
 }
\ No newline at end of file