A conversion of the excellent Adafruit WS2801 library for Arduino to work on mbed
Dependents: WiFiDipCortex_Cheerlights
Revision 4:987c91c45188, committed 2014-06-03
- Comitter:
- SomeRandomBloke
- Date:
- Tue Jun 03 20:19:23 2014 +0000
- Parent:
- 3:dfffbd9f8ac6
- Commit message:
- re-added delay on hardware spi as not working fully without it
Changed in this revision
Adafruit_WS2801.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r dfffbd9f8ac6 -r 987c91c45188 Adafruit_WS2801.cpp --- 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;