Library for Neopixel LEDS

Dependents:   MadPulseIMU

Fork of NeoStrip by Allen Wild

Files at this revision

API Documentation at this revision

Comitter:
jdawkins
Date:
Fri Sep 08 19:49:09 2017 +0000
Parent:
1:f531a2be180d
Commit message:
Added Color Definitions to header

Changed in this revision

NeoStrip.h Show annotated file Show diff for this revision Revisions of this file
diff -r f531a2be180d -r b33251737b7c NeoStrip.h
--- a/NeoStrip.h	Wed May 21 02:28:43 2014 +0000
+++ b/NeoStrip.h	Fri Sep 08 19:49:09 2017 +0000
@@ -15,6 +15,16 @@
 #error NeoStrip only supports the NXP LPC1768!
 #endif
 
+#define RED 0xFF0000
+#define ORANGE 0xFF8000
+#define YELLOW 0xFFFF00
+#define GREEN 0x00FF00
+#define CYAN 0x00FFFF
+#define BLUE 0x0000FF
+#define PURPLE 0x7F00FF
+#define WHITE 0xFFFFFF
+#define OFF 0x000000
+
 // NeoColor struct definition to hold 24 bit
 // color data for each pixel, in GRB order
 typedef struct _NeoColor