Settings are now properly global and can be changed.

This commit is contained in:
2019-10-04 12:10:16 +02:00
parent 2b50691067
commit 0f1d4abe04
4 changed files with 157 additions and 91 deletions

View File

@ -110,21 +110,6 @@ bool change_current_effect(String payload) {
return true;
}
const char* cycle_effects[] = {
"sinematrix3",
"single_dynamic", "multi_dynamic", "big_dynamic",
"matrix", "rainbow_matrix", "random_matrix",
"confetti", "random_confetti",
"snake",
"gol",
"twirl",
"sines",
"blur2d",
"firework",
"big_clock",
"dvd"};
uint8_t cycle_effects_count = 17;
void setup_effects() {
current_effect = new CycleEffect();
}