pitrix/include/effects/timer.h

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"; }
};