Added more effects to the cycle effect.
This commit is contained in:
parent
33c2417534
commit
0b80b74be3
@ -70,6 +70,7 @@ bool change_current_effect(String payload) {
|
||||
LOGln("Effects * Could not find effect with name %s", payload.c_str());
|
||||
return false;
|
||||
}
|
||||
LOGln("Effects * Switching to effect %s", payload.c_str());
|
||||
delete current_effect;
|
||||
current_effect = new_effect;
|
||||
|
||||
@ -91,8 +92,16 @@ bool change_current_effect(String payload) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const char* cycle_effects[] = {"sinematrix3", "multi_dynamic", "matrix", "confetti", "single_dynamic", "snake", "gol"};
|
||||
uint8_t cycle_effects_count = 7;
|
||||
const char* cycle_effects[] = {
|
||||
"sinematrix3",
|
||||
"multi_dynamic",
|
||||
"matrix", "rainbow_matrix", "random_matrix",
|
||||
"confetti", "random_confetti",
|
||||
"single_dynamic",
|
||||
"snake",
|
||||
"gol",
|
||||
"twirl"};
|
||||
uint8_t cycle_effects_count = 11;
|
||||
|
||||
void setup_effects() {
|
||||
current_effect = new CycleEffect();
|
||||
|
Loading…
Reference in New Issue
Block a user