Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
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 };
Generated on Fri Jul 15 2022 00:27:27 by 1.7.2