My Version of The LED_WS2812 Library

Dependencies:   WS2812 PixelArray

Fork of LED_WS2812 by CreaLab

Files at this revision

API Documentation at this revision

Comitter:
alcocerg
Date:
Mon Mar 19 10:28:44 2018 +0000
Parent:
4:15b992a39c77
Child:
6:c9955bf67a3e
Commit message:
Update for CreaBot

Changed in this revision

LED_WS2812.h Show annotated file Show diff for this revision Revisions of this file
--- a/LED_WS2812.h	Thu Nov 02 12:01:51 2017 +0000
+++ b/LED_WS2812.h	Mon Mar 19 10:28:44 2018 +0000
@@ -21,7 +21,7 @@
         BLUE        = 0x0000FF,
         LIGHTBLUE   = 0x00FFF6,
         RED         = 0xFF0000,
-        ORANGE      = 0xFFA500,
+        ORANGE      = 0xFF3500,
         GREEN       = 0X00FF00,
         BLACK       = 0X000000,
         WHITE       = 0XFFFFFF,
@@ -54,12 +54,12 @@
     void InsertColorNtimes(int N, LED_COLORS _color, float brightness);  
     void InsertColorNtimes(int N, LED_COLORS _color);
 
-    void StartRotation(float interval); // itnerval in ms
-    void StopRotation();  // interval in ms
+    void StartRotation(float interval); // interval in s
+    void StopRotation();  // 
     void Rotate(); // One Rotation
     
-    void StartBlink(float interval); // itnerval in ms
-    void StopBlink();  // interval in ms
+    void StartBlink(float interval); // interval in s
+    void StopBlink();  //
     void Blink(); // One Rotation
       
 private: