A library for SPI control of adafruit's neopixel ring and addressable LEDs.
Dependents: TI_NEOPIXEL_SPI_SAMPLE
Diff: TI_NEOPIXEL_SPI.h
- Revision:
- 4:70bc3528e07e
- Parent:
- 3:f0859c280204
diff -r f0859c280204 -r 70bc3528e07e TI_NEOPIXEL_SPI.h --- a/TI_NEOPIXEL_SPI.h Thu Jan 02 08:14:13 2020 +0000 +++ b/TI_NEOPIXEL_SPI.h Thu Jan 02 14:22:55 2020 +0000 @@ -24,8 +24,14 @@ void circle(int count, int startCount, int endCount, rgbColor rgbColor); void chase(int count, int bufferCount, rgbColor c1, rgbColor c2); - void chaseRainbow(int count); + void chase2(int count, int bufferCount, rgbColor c1, rgbColor c2); + void chaseReverse(int count, int bufferCount, rgbColor c1, rgbColor c2); + + void chaseRainbow(int count, int bufferCount); void circleRainbow(int count); + + void moon(int count, int startIndex, int stopIndex, rgbColor c1, rgbColor c2); + rgbColor convertHsvToRgb(float h, float s, float v); private: