dht11-thermometer

xod/common-hardware/dht11-thermometer

Reads temperature and humidity from a DHT11 sensor. Also named RHT01. Possible errors: — Checksum failure — Read timeout — Initialization error — Invalid port
dht11-thermometer
@/dht11-thermometer
Deprecated: Use `xod-dev/dht/dht11-hygrometer` instead
Reads temperature and humidity from a DHT11 sensor. Also named RHT01. Possible errors: — Checksum failure — Read timeout — Initialization error — Invalid port
PORTport
Board port number the thermometer is connected to.
UPDpulse
Triggers new read
dht11-thermometer
Tc
RH
DONE
PORT
UPD
DONEpulse
Fires on reading complete
RHnumber
Relative humidity in ragne [0.0, 1.0]
Tcnumber
Last read temperature in °C.