read(dht2x-device)

xod-dev/dht/read(dht2x-device)

Reads the temperature and humidity.
read(dht2x-device)
@/read(dht2x-device)
Reads the temperature and humidity.
DEV@/dht2x-device
A DHT2X sensor or analog
DOpulse
Triggers new read
read(dht2x-device)
DEV
DO
Tc
RH
DONE
DONEpulse
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.