pitrix/include/effect_bell.h

16 lines
293 B
C
Raw Normal View History

#pragma once
#include "Effect.h"
#include "functions.h"
class BellEffect : public Effect {
2019-06-07 04:24:16 +00:00
private:
CRGB color_on = CRGB(0xFFFF00);
CRGB color_off = CRGB(0x000000);
boolean invert = false;
2019-06-07 04:24:16 +00:00
public:
void loop(uint16_t ms);
String get_name() override { return "bell"; }
};