17 lines
310 B
C++
17 lines
310 B
C++
#pragma once
|
|
|
|
#include "Effect.h"
|
|
#include "my_fastled.h"
|
|
|
|
class PixelClockEffect : public Effect {
|
|
private:
|
|
CRGB* _color_seconds;
|
|
CRGB* _color_minutes;
|
|
public:
|
|
PixelClockEffect();
|
|
~PixelClockEffect();
|
|
void loop();
|
|
bool can_be_shown_with_clock();
|
|
String get_name() override { return "pixel_clock"; }
|
|
};
|