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

@@ -378,7 +378,7 @@ class UsermodBattery : public Usermod
void appendConfigData()
{
oappend(SET_F("addHB('")); oappend(_name); oappend("');");
oappend(SET_F("addHB('Battery');"));
oappend(SET_F("addInfo('Battery:min-voltage', 1, 'v');"));
oappend(SET_F("addInfo('Battery:max-voltage', 1, 'v');"));