Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

Revision:
1:f544810b6598
Child:
3:7d32f46a38d3
diff -r 66a5d46a740f -r f544810b6598 Effects/strobe_effect.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Effects/strobe_effect.h	Mon Nov 23 18:50:01 2015 +0000
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "effect.h"
+
+namespace Effects {
+
+    enum StrobeState { OFF, ON };
+    
+    class StrobeEffect : public Effect {
+    
+        private:
+            neopixel::Pixel initial_color;
+            StrobeState current_state;
+            
+        public:
+            StrobeEffect(NeoPixelString * pixelstring, int delay_ms, neopixel::Pixel initial_color);
+        
+        public:
+            virtual void execute(void);
+    };
+
+};
\ No newline at end of file