We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f036a18 commit cdc1a61Copy full SHA for cdc1a61
Aurora.ino
@@ -160,8 +160,7 @@ void setup()
160
}
161
162
// setup the effects generator
163
- effects.CyclePalette();
164
- effects.NoiseVariablesSetup();
+ effects.Setup();
165
166
mainMenuItemCount = sizeof(mainMenuItems) / sizeof(MenuItem*);
167
Effects.h
@@ -62,6 +62,12 @@ class Effects {
62
63
static const int HeatColorsPaletteIndex = 7;
64
65
+ void Setup() {
66
+ currentPalette = RainbowColors_p;
67
+ loadPalette(0);
68
+ NoiseVariablesSetup();
69
+ }
70
+
71
void CyclePalette(int offset = 1) {
72
loadPalette(paletteIndex + offset);
73
0 commit comments