whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.2k stars 221 forks source link

DHT22 wrong result if temperature is less then 0 grad celsius #212

Closed lu1210 closed 5 years ago

lu1210 commented 5 years ago

If temperature is e.g. -0.1 °C DHT22 returns 3276.9.

jolivepetrus commented 5 years ago

@lu1210,

Thanks for report this. It should be solved in https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/d6a22aea872e3a64fbf62d1990e8250562f3415e.

lu1210 commented 5 years ago

patch is successfully verified