dht2x-hygrometer

xod-dev/dht/dht2x-hygrometer

Read the temperature and humidity by the DHT21 or compatible (DHT21, DHT22, DHT33, DHT44, AM2301, HM2301, AM2302, AM2303, RHT02, RHT03, RHT04, RHT05) hygrometer sensor.
dht2x-hygrometer
@/dht2x-hygrometer
Read the temperature and humidity by the DHT21 or compatible (DHT21, DHT22, DHT33, DHT44, AM2301, HM2301, AM2302, AM2303, RHT02, RHT03, RHT04, RHT05) hygrometer sensor.
PORTport
Board port number the hygrometer is connected to.
UPDpulse
dht2x-hygrometer
TcTcRHRHOKOKPORTPORTUPDUPD
OKpulse
Fires on reading complete
RHnumber
Relative humidity in ragne [0.0, 1.0]
Tcnumber
Last read temperature in °C.
To use the node in your project you should have the xod-dev/dht library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.