I started work to connect an AHT10 temp+humidity sensor (I2C) directly to an ESP32 gateway. The AHT10 library readme warns for a compiler message about long delay. And indeed, in the code I found several delay statements that each evaluate to 350 ms! I suspect that this could affect the Gateway functionality, but haven't tested this. I'd rather not change a library (it's coming from github / enjoyneering), but more than that I'd rather not have a internittently malfunctioning gateway. Could the ESP32 not be affected because of multi-core capability or is possibly the delay function under mysensors implemented as a non-totally-blocking routine ? All options that are hard to check for me. Please advise, many thanks in advance.
Best posts made by rumoldus
Latest posts made by rumoldus
can use delay() on an ESP32 gateway ?