pitrix/include/effect_bell.h
Fabian Schlenz 382631d7d7 Effect#loop now gets the time since the last run of the loop in ms. This enables
the effects to show animations that stay fluid independent of the current frame rate.
2019-10-01 06:29:32 +02:00

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"; }
};