Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

Revision:
3:7d32f46a38d3
Parent:
1:f544810b6598
--- a/Effects/strobe_effect.h	Mon Nov 23 21:32:24 2015 +0000
+++ b/Effects/strobe_effect.h	Fri Apr 15 14:38:13 2016 +0000
@@ -1,19 +1,18 @@
 #pragma once
 
-#include "effect.h"
+#include "periodic_effect.h"
 
 namespace Effects {
 
     enum StrobeState { OFF, ON };
     
-    class StrobeEffect : public Effect {
+    class StrobeEffect : public PeriodicEffect {
     
         private:
-            neopixel::Pixel initial_color;
             StrobeState current_state;
             
         public:
-            StrobeEffect(NeoPixelString * pixelstring, int delay_ms, neopixel::Pixel initial_color);
+            StrobeEffect(NeoPixelString * pixelstring, neopixel::Pixel initial_color, int delay_ms);
         
         public:
             virtual void execute(void);