2019-06-11 17:48:09 +00:00
|
|
|
#pragma once
|
2019-05-29 22:49:54 +00:00
|
|
|
|
|
|
|
#include "Effect.h"
|
|
|
|
#include "prototypes.h"
|
2019-06-11 17:48:09 +00:00
|
|
|
#include "my_fastled.h"
|
|
|
|
#include "Window.h"
|
2019-05-29 22:49:54 +00:00
|
|
|
|
|
|
|
class ClockEffect : public Effect {
|
2019-06-07 04:24:16 +00:00
|
|
|
private:
|
2019-06-11 17:48:09 +00:00
|
|
|
Window* window = new Window(0, LED_HEIGHT - 6, LED_WIDTH, 6);
|
2019-05-29 22:49:54 +00:00
|
|
|
|
2019-06-07 04:24:16 +00:00
|
|
|
public:
|
2019-06-19 20:23:49 +00:00
|
|
|
~ClockEffect();
|
2019-05-29 22:49:54 +00:00
|
|
|
void loop();
|
|
|
|
void loop(boolean invert, CRGB fg_color, CRGB bg_color);
|
|
|
|
};
|