tweaked library for debug but have to commit to publish...
Fork of WS2812 by
Diff: WS2812.cpp
- Revision:
- 6:bca008db132a
- Parent:
- 5:a07522fe36d4
diff -r a07522fe36d4 -r bca008db132a WS2812.cpp --- a/WS2812.cpp Mon Aug 18 13:25:57 2014 +0000 +++ b/WS2812.cpp Wed Aug 20 16:36:09 2014 +0000 @@ -1,6 +1,7 @@ #include "WS2812.h" -WS2812::WS2812(PinName d, int size) : __spi(d, NC, NC) +//WS2812::WS2812(PinName d, int size) : __spi(d, NC, NC) +WS2812::WS2812(PinName d, int size) : __spi(d, NC, PTD1) // output the clock for scope test { __size = size; __spi.format(SPIBPF,0);