Closed eos1d3 closed 8 years ago
This lib doesn't check whether dth is connected or not. I will test more and add a code to check whether duh is disconnected.
New update to example DHT_esp8266 fixes the reconnection problem. DHT_example needs the same update too.
DHT_example has no blocking call in setup, so I think don't need delay or yield.
While testing with previous issue, I accidentally disconnected one of the DHT22 wire. And the DHT_example just hanged.
I have to reset the cpu for this condition. Further tests show disconnecting and reconnecting any of the 3 wires will hang. And only a few of chances it can continue.