Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers strobe_effect.h Source File

strobe_effect.h

00001 #pragma once
00002 
00003 #include "periodic_effect.h"
00004 
00005 namespace Effects {
00006 
00007     enum StrobeState { OFF, ON };
00008     
00009     class StrobeEffect : public PeriodicEffect {
00010     
00011         private:
00012             StrobeState current_state;
00013             
00014         public:
00015             StrobeEffect(NeoPixelString * pixelstring, neopixel::Pixel initial_color, int delay_ms);
00016         
00017         public:
00018             virtual void execute(void);
00019     };
00020 
00021 };