21 lines
340 B
C++
21 lines
340 B
C++
#ifndef effect_confetti_H
|
|
#define effect_confetti_H
|
|
|
|
#include "Effect.h"
|
|
#include "my_fastled.h"
|
|
|
|
class ConfettiEffect : public Effect {
|
|
protected:
|
|
virtual CRGB _getColor();
|
|
public:
|
|
void loop();
|
|
boolean can_be_shown_with_clock();
|
|
};
|
|
|
|
class RandomConfettiEffect : public ConfettiEffect {
|
|
protected:
|
|
CRGB _getColor() override;
|
|
};
|
|
|
|
#endif
|