A conversion of the excellent Adafruit WS2801 library for Arduino to work on mbed

Dependents:   SSS_Ble

Files at this revision

API Documentation at this revision

Comitter:
kris@kris-X682X
Date:
Fri Jun 14 10:24:57 2019 +0200
Parent:
5:bbe85db83246
Commit message:
WS2801 working, fancy lightshows

Changed in this revision

Adafruit_WS2801.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bbe85db83246 -r a7cf522f7ec8 Adafruit_WS2801.cpp
--- 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);