Generate presets !

Fix 1d/2d default in customeffect, games and weather

index.htm: add buttons and text area for genPresets

index.js: add genPresets, uploadFileWithText and savePresetsGen

fx,cpp: set fire 2012 default palette 0 (fire colors)

Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
This commit is contained in:
Ewoud
2023-01-12 17:32:11 +01:00
parent 6cc62c59ad
commit 91aed65f99
9 changed files with 2164 additions and 2009 deletions

View File

@@ -2017,7 +2017,7 @@ uint16_t mode_fire_2012()
return FRAMETIME;
}
static const char _data_FX_MODE_FIRE_2012[] PROGMEM = "Fire 2012@Cooling,Spark rate;;!;1.5d;sx=120,ix=64,m12=1"; // bars WLEDMM 1.5d
static const char _data_FX_MODE_FIRE_2012[] PROGMEM = "Fire 2012@Cooling,Spark rate;;!;1.5d;pal=0,sx=120,ix=64,m12=1"; // bars WLEDMM 1.5d, pal = 0
// ColorWavesWithPalettes by Mark Kriegsman: https://gist.github.com/kriegsman/8281905786e8b2632aeb