pitrix/include/effect_timer.h
Fabian Schlenz e2a56d7c29
All checks were successful
continuous-integration/drone/push Build is passing
Added a TimeEffect to show a countdown to a time given via MQTT.
2019-12-21 14:21:31 +01:00

16 lines
313 B
C++

#pragma once
#include "Effect.h"
#include "prototypes.h"
#include "my_fastled.h"
#include "Window.h"
class TimerEffect : public Effect {
protected:
Window* window = new Window(0, 0, LED_WIDTH, 6);
public:
~TimerEffect();
void loop(uint16_t ms);
String get_name() override { return "timer"; }
};