dht2x-thermometer

xod/common-hardware/dht2x-thermometer

Reads temperature and humidity from a DHT21 or compatible sensor: DHT21, DHT22, DHT33, DHT44, AM2301, HM2301, AM2302, AM2303, RHT02, RHT03, RHT04, RHT05.
dht2x-thermometer
@/dht2x-thermometer
Reads temperature and humidity from a DHT21 or compatible sensor: DHT21, DHT22, DHT33, DHT44, AM2301, HM2301, AM2302, AM2303, RHT02, RHT03, RHT04, RHT05.
PORTport
Board port number the thermometer is connected to.
UPDpulse
Triggers an update, i.e. reading values again.
dht2x-thermometer
TcTcRHRHDONEDONEERRERRPORTPORTUPDUPD
ERRpulse
Fires if update failed.
DONEpulse
Fires on reading complete
RHnumber
Relative humidity in ragne [0.0, 1.0]
Tcnumber
Last read temperature in °C.