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

@@ -226,7 +226,7 @@ public:
}
void appendConfigData() {
oappend(SET_F("addHB('")); oappend(_name); oappend("');");
oappend(SET_F("addHB('BH1750');");
// WLEDMM this usermod can ONLY use HW_I2C - so always use globals
//oappend(SET_F("addInfo('BH1750:pin[]',0,'','I2C SCL');"));
//oappend(SET_F("rOption('BH1750:pin[]',0,'use global (")); oappendi(i2c_scl); oappend(")',-1);");