espruino/EspruinoDocs — pull request #64 by SpenceKonde (2014-04-18 22:17:35+00:00)
Title: Improve DHT22, DHT11 modules

Both modules:

Remove one of the timeouts to slightly reduce memory usage.
Fix issue where readfails was not reset after giving up on getting a reading, resulting in future attempts to give up after a single try until one succeeded (which can take multiple tries on the DHT11)

DHT22:
Improve accuracy, prevent bitshifted output.