Driver for WS2812

Dependents:   ChrisRGB-Ring

Revision:
5:a07522fe36d4
Parent:
4:b230e85fc5e7
--- a/WS2812.h	Wed Aug 06 08:34:32 2014 +0000
+++ b/WS2812.h	Mon Aug 18 13:25:57 2014 +0000
@@ -50,6 +50,7 @@
     Reads the temperature register of the LM75B and converts it to a useable value.
     */
     void write (int buf[]);
+    void write_offsets (int buf[],int r_offset=0, int g_offset=0, int b_offset=0);
     void setAll(int colour);
 
     void useII(int d);