RobTillaart / DHTNew

Arduino library for DHT11 and DHT22 with automatic sensor recognition
MIT License
98 stars 15 forks source link

add right bit shift detection + error code #16

Closed RobTillaart closed 4 years ago

RobTillaart commented 4 years ago

Valuable as this is a specific case which is caught already by the CHECKSUM error. In this case the values for temperature and humidity are definitely not correct. A "normal" checksum error can occur due to a (single) bit error while the temperature and/or humidity are correct.