pitrix/include/effect_clock.h

19 lines
433 B
C
Raw Normal View History

#pragma once
#include "Effect.h"
#include "prototypes.h"
#include "my_fastled.h"
#include "Window.h"
class ClockEffect : public Effect {
2019-09-25 16:11:52 +00:00
protected:
Window* window = &Window::window_clock;
2019-06-07 04:24:16 +00:00
public:
virtual ~ClockEffect();
virtual void loop(uint16_t ms);
String get_name() override { return "clock"; }
2019-09-25 16:11:52 +00:00
void loop_with_invert(bool invert);
void loop(boolean invert, CRGB fg_color, CRGB bg_color, uint8_t y);
};