17 lines
321 B
C++
17 lines
321 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(uint16_t ms);
|
|
bool can_be_shown_with_clock();
|
|
String get_name() override { return "pixel_clock"; }
|
|
};
|