A conversion of the excellent Adafruit WS2801 library for Arduino to work on mbed
Diff: Adafruit_WS2801.cpp
- Revision:
- 6:a7cf522f7ec8
- Parent:
- 5:bbe85db83246
--- a/Adafruit_WS2801.cpp Sat Apr 20 11:02:31 2019 +0000 +++ b/Adafruit_WS2801.cpp Fri Jun 14 10:24:57 2019 +0200 @@ -331,7 +331,7 @@ // draw a rectangle -void Adafruit_WS2801::drawRect(int16_t x, int16_t y, +void Adafruit_WS2801::drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint32_t color) { drawFastHLine(x, y, w, color); drawFastHLine(x, y+h-1, w, color);