2019-06-15 12:18:35 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Effect.h"
|
|
|
|
#include "my_fastled.h"
|
|
|
|
|
|
|
|
class PixelClockEffect : public Effect {
|
|
|
|
private:
|
|
|
|
CRGB* _color_seconds;
|
|
|
|
CRGB* _color_minutes;
|
|
|
|
public:
|
|
|
|
PixelClockEffect();
|
2019-06-18 16:09:05 +00:00
|
|
|
~PixelClockEffect();
|
2019-10-01 04:29:32 +00:00
|
|
|
void loop(uint16_t ms);
|
2019-06-15 12:18:35 +00:00
|
|
|
bool can_be_shown_with_clock();
|
2019-09-25 16:11:03 +00:00
|
|
|
String get_name() override { return "pixel_clock"; }
|
2019-06-15 12:18:35 +00:00
|
|
|
};
|