SHT usermod MoonModules upgrade

Use MM specific features in SHT usermod:

* Join global I2C bus with pinManager.joinWire()
* allow to compile without MQTT
* use extended Usermod class features
* prevent sensor starvation when running with > 600 LEDs
This commit is contained in:
Frank
2023-05-10 15:15:25 +02:00
parent fdf25d046a
commit 9e9d10618b
2 changed files with 37 additions and 10 deletions

View File

@@ -374,7 +374,7 @@ void registerUsermods()
#endif
#ifdef USERMOD_SHT
usermods.add(new ShtUsermod());
usermods.add(new ShtUsermod("SHT-Sensor", false));
#endif
//WLEDMM ARTIFX