Thanks! Someone's actually had a go at a better module, which is here - I didn't want to have two conflicting ones, but hopefully at some point I'll merge that one into the normal DHT22 module.
You should be able to require("https://github.com/CanyonCasa/EspruinoDocs/blob/master/devices/HTxx.js") and try the new one out though.
I only have a DHT11 to test with, but perhaps if I post a tweaked version of the original up you have have a test with that?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks! Someone's actually had a go at a better module, which is here - I didn't want to have two conflicting ones, but hopefully at some point I'll merge that one into the normal DHT22 module.
You should be able to
require("https://github.com/CanyonCasa/EspruinoDocs/blob/master/devices/HTxx.js")
and try the new one out though.I only have a DHT11 to test with, but perhaps if I post a tweaked version of the original up you have have a test with that?