i2c_sda, i2c_scl, spi_mosi, spi_miso, spi_sclk without HW_PIN_*, bh1750
platformio: - add bh1750 to _max - define rotary defaults for wemos usermod_bh1750 - Remove HW_PIN_* and replace by i2c_sda etc - add appendConfigData usermods mpu6050_imu, rtc, 4ld, pinmanager - Remove HW_PIN_* change SDA2:pin (etc) to SDA:pin
This commit is contained in:
@@ -868,7 +868,7 @@ public:
|
||||
//WLEDMM: add appendConfigData
|
||||
void appendConfigData()
|
||||
{
|
||||
oappend(SET_F("addInfo('Rotary-Encoder:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/Rotary-Encoder"\" type=\"button\">?</button>');")); // 0 is field type, 1 is actual field
|
||||
oappend(SET_F("addInfo('Rotary-Encoder:help',0,'<button onclick=\"location.href="https://mm.kno.wled.ge/usermods/Rotary-Encoder"\" type=\"button\">?</button>');"));
|
||||
#ifdef ENCODER_DT_PIN
|
||||
oappend(SET_F("xOption('Rotary-Encoder:DT-pin',1,' ⎌',")); oappendi(ENCODER_DT_PIN); oappend(");");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user