tweaked library for debug but have to commit to publish...
Fork of WS2812 by
Diff: WS2812.h
- Revision:
- 6:bca008db132a
- Parent:
- 5:a07522fe36d4
--- a/WS2812.h Mon Aug 18 13:25:57 2014 +0000 +++ b/WS2812.h Wed Aug 20 16:36:09 2014 +0000 @@ -21,9 +21,14 @@ #include "mbed.h" -#define WS1 0x38 -#define WS0 0x30 -#define SPICLK 5000000 +//#define WS1 0x38 orig +//#define WS1 0x3E works +#define WS1 0xC1 +//#define WS0 0x30 orig +//#define WS0 0x20 works +#define WS0 0xDF + +#define SPICLK 5000000 // orig was 5000000 #define SPIBPF 6