pitrix/src/effect_static.cpp

14 lines
226 B
C++

#include "effect_static.h"
#include "functions.h"
#include "my_fastled.h"
StaticEffect::StaticEffect(CRGB col) {
color = col;
}
void StaticEffect::loop() {
EVERY_N_SECONDS(1) {
window->clear(&color);
}
}