124 {
125 uint32_t now = millis();
130
133 }
134
135
139 }
140 }
141
144
145 }
146
147
148 static int lastFxIndex = -1;
149 if (
fxIndex.value() != lastFxIndex) {
152 }
153
154
157}
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
UISlider brightness("Brightness", 128, 0, 255, 1)
fl::unique_ptr< Animartrix > animartrix
fl::unique_ptr< FxEngine > fxEngine
CRGBPalette16 noisePalette
#define EVERY_N_MILLISECONDS_DYNAMIC(PERIOD_FUNC)
Checks whether to execute a block of code every N milliseconds, where N is determined dynamically.
UIButton changeFx("Switch between Noise & Animartrix")
UINumberField fxIndex("Animartrix - index", 0, 0, NUM_ANIMATIONS)
UISlider timeSpeed("Time Speed", 1, -10, 10,.1)
UICheckbox isOff("Off", false)
UISlider changePalletTime("Noise - Time until next random Palette", 5, 1, 100)
UICheckbox changePallete("Noise - Auto Palette", true)
UIButton changePalette("Noise - Next Palette")