Fabian Schlenz
382631d7d7
the effects to show animations that stay fluid independent of the current frame rate.
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"; }
|
|
};
|