New esp8266_4MB_max entry to test usermods / i2c

pio.ini: add esp8266_4MB_max with pir, dallas, relay  games (to test IMU) 

addHB: use string literal instead of var

appendConfigData to um multirelay
This commit is contained in:
Ewoud
2023-01-17 13:07:50 +01:00
parent 9065b684b3
commit 357e3638d4
16 changed files with 236 additions and 203 deletions

View File

@@ -287,9 +287,9 @@ class PWMFanUsermod : public Usermod {
}
void appendConfigData() {
oappend(SET_F("addHB('")); oappend(_name); oappend("');");
oappend(SET_F("addHB('PWM-fan');"));
}
/*
* addToConfig() can be used to add custom persistent settings to the cfg.json file in the "um" (usermod) object.
* It will be called by WLED when settings are actually saved (for example, LED settings are saved)