A library for SPI control of adafruit's neopixel ring and addressable LEDs.

Dependencies:   PixelArray

Dependents:   TI_NEOPIXEL_SPI_SAMPLE

Revision:
5:69bb2a2fa11f
Parent:
2:0148ac5c90fa
diff -r 0148ac5c90fa -r 69bb2a2fa11f TI_NEOPIXEL_SPI.h
--- a/TI_NEOPIXEL_SPI.h	Sun Jul 28 00:13:03 2019 +0000
+++ b/TI_NEOPIXEL_SPI.h	Sat Jan 04 02:53: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);
 
@@ -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: