Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
Effects/color_effect.h@3:7d32f46a38d3, 2016-04-15 (annotated)
- Committer:
- dwini
- Date:
- Fri Apr 15 14:38:13 2016 +0000
- Revision:
- 3:7d32f46a38d3
Been to long since i coded this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dwini | 3:7d32f46a38d3 | 1 | #pragma once |
dwini | 3:7d32f46a38d3 | 2 | |
dwini | 3:7d32f46a38d3 | 3 | #include "effect.h" |
dwini | 3:7d32f46a38d3 | 4 | |
dwini | 3:7d32f46a38d3 | 5 | namespace Effects { |
dwini | 3:7d32f46a38d3 | 6 | |
dwini | 3:7d32f46a38d3 | 7 | class ColorEffect : public Effect { |
dwini | 3:7d32f46a38d3 | 8 | |
dwini | 3:7d32f46a38d3 | 9 | public: |
dwini | 3:7d32f46a38d3 | 10 | ColorEffect(NeoPixelString * pixelstring, neopixel::Pixel color); |
dwini | 3:7d32f46a38d3 | 11 | |
dwini | 3:7d32f46a38d3 | 12 | public: |
dwini | 3:7d32f46a38d3 | 13 | virtual void start(void); |
dwini | 3:7d32f46a38d3 | 14 | virtual void execute(void); |
dwini | 3:7d32f46a38d3 | 15 | }; |
dwini | 3:7d32f46a38d3 | 16 | |
dwini | 3:7d32f46a38d3 | 17 | }; |