Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Adafruit_WS2801 by
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
};
