diff --git a/src/effects.cpp b/src/effects.cpp index fb3ba34..2600209 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -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();