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:
sepp_nepp
Date:
Tue Oct 23 20:17:15 2018 +0000
Parent:
6:c9955bf67a3e
Child:
8:392cfdbded1e
Commit message:
Added a few extra colors

Changed in this revision

LED_WS2812.cpp Show annotated file Show diff for this revision Revisions of this file
LED_WS2812.h Show annotated file Show diff for this revision Revisions of this file
--- a/LED_WS2812.cpp	Wed Oct 03 11:33:02 2018 +0000
+++ b/LED_WS2812.cpp	Tue Oct 23 20:17:15 2018 +0000
@@ -1,7 +1,6 @@
 #include "LED_WS2812.h"
 
 
-
 LED_WS2812::LED_WS2812(PinName _PinOut, int _nbLeds) {
      nbLeds = _nbLeds;
     double period_ns;
--- a/LED_WS2812.h	Wed Oct 03 11:33:02 2018 +0000
+++ b/LED_WS2812.h	Tue Oct 23 20:17:15 2018 +0000
@@ -28,7 +28,7 @@
         PURPLE      = 0XFF00FF,
         PINK        = 0XFF84A3,
         YELLOW      = 0XFFFF00,
-        DARK_YELLOW      = 0X555500,
+        DARK_YELLOW = 0X555500,
         DEFAULT     = 0x000000
     } LED_COLORS;