Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
Diff: neopixel_string.h
- Revision:
- 2:bb9ebad05691
- Parent:
- 0:66a5d46a740f
--- a/neopixel_string.h Mon Nov 23 18:50:01 2015 +0000 +++ b/neopixel_string.h Mon Nov 23 21:32:24 2015 +0000 @@ -11,6 +11,10 @@ public: NeoPixelString(PinName spi_pin, unsigned int length); + unsigned int getLength(void); + void update(void); void update(neopixel::Pixel singlecolor); void diagnose(void); + neopixel::Pixel getPixel(unsigned int i); + void setPixel(unsigned i, neopixel::Pixel pixel); }; \ No newline at end of file