A conversion of the excellent Adafruit WS2801 library for Arduino to work on mbed
Dependents: WiFiDipCortex_Cheerlights
Diff: Adafruit_WS2801.h
- Revision:
- 2:2fdaa13896a4
- Parent:
- 1:6ff477690983
- Child:
- 3:dfffbd9f8ac6
--- a/Adafruit_WS2801.h Fri Mar 08 13:25:50 2013 +0000 +++ b/Adafruit_WS2801.h Wed Feb 12 22:05:44 2014 +0000 @@ -31,7 +31,7 @@ setPixelColor(uint16_t x, uint16_t y, uint8_t r, uint8_t g, uint8_t b), setPixelColor(uint16_t x, uint16_t y, uint32_t c), updatePins(PinName dpin, PinName cpin), // Change pins, configurable -// updatePins(void), // Change pins, hardware SPI + updatePins(void), // Change pins, hardware SPI updateLength(uint16_t n), // Change strand length updateOrder(uint8_t order); // Change data order uint16_t @@ -54,7 +54,6 @@ void alloc(uint16_t n); // startSPI(void); - //bool -// hardwareSPI, // If 'true', using hardware SPI + bool hardwareSPI; // If 'true', using hardware SPI bool begun; // If 'true', begin() method was previously invoked };