Fabian Schlenz
382631d7d7
the effects to show animations that stay fluid independent of the current frame rate.
16 lines
293 B
C++
16 lines
293 B
C++
#pragma once
|
|
|
|
#include "Effect.h"
|
|
#include "functions.h"
|
|
|
|
class BellEffect : public Effect {
|
|
private:
|
|
CRGB color_on = CRGB(0xFFFF00);
|
|
CRGB color_off = CRGB(0x000000);
|
|
boolean invert = false;
|
|
public:
|
|
void loop(uint16_t ms);
|
|
String get_name() override { return "bell"; }
|
|
};
|
|
|