Reconsidered input pin and NC pin for SPI. Modified several functions interface and its contents.

Dependents:   WS2812_out_of_specification_demo

Revision:
5:a07522fe36d4
Parent:
4:b230e85fc5e7
Child:
6:583738208b96
--- 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);