A library for SPI control of adafruit's neopixel ring and addressable LEDs.
Dependents: TI_NEOPIXEL_SPI_SAMPLE
Diff: TI_NEOPIXEL_SPI.h
- Revision:
- 3:f0859c280204
- Parent:
- 2:0148ac5c90fa
- Child:
- 4:70bc3528e07e
--- a/TI_NEOPIXEL_SPI.h Sun Jul 28 00:13:03 2019 +0000 +++ b/TI_NEOPIXEL_SPI.h Thu Jan 02 08:14:13 2020 +0000 @@ -15,7 +15,7 @@ { public: TI_NEOPIXEL_SPI(PinName input); - + void switchLightOff(int count); void switchLightOn(int count, int startCount, int endCount, rgbColor rgbColor); @@ -29,7 +29,7 @@ rgbColor convertHsvToRgb(float h, float s, float v); private: - neopixel::PixelArray _ledStrip; + NeoPixelOut _neoPixel; }; #endif \ No newline at end of file