This is a fork of Adafruit_WS2801 found http://developer.mbed.org/users/SomeRandomBloke/code/Adafruit_WS2801/ It was the work of SomeRandomBloke, and I changed some baked in settings to work with the STM32F401RE.
Fork of Adafruit_WS2801 by
Diff: Adafruit_WS2801.cpp
- Revision:
- 4:987c91c45188
- Parent:
- 3:dfffbd9f8ac6
- Child:
- 5:b99161307af3
--- a/Adafruit_WS2801.cpp Tue Jun 03 15:45:14 2014 +0000 +++ b/Adafruit_WS2801.cpp Tue Jun 03 20:19:23 2014 +0000 @@ -164,7 +164,7 @@ for(i=0; i<nl3; i++ ) { spi.write( pixels[i]); } - // wait_ms(1); // Needed???? + wait_ms(1); // Needed otherwise sometimes doesnt display } else { uint8_t bit;