Fabian Schlenz
382631d7d7
the effects to show animations that stay fluid independent of the current frame rate.
16 lines
277 B
C++
16 lines
277 B
C++
#pragma once
|
|
|
|
#include "Effect.h"
|
|
#include "my_fastled.h"
|
|
|
|
class StaticEffect : public Effect {
|
|
private:
|
|
CRGB color;
|
|
public:
|
|
StaticEffect(CRGB col);
|
|
boolean supports_window = true;
|
|
void loop(uint16_t ms);
|
|
String get_name() override { return "static"; }
|
|
};
|
|
|