read(dht11-device)

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

Reads the temperature and humidity.
read(dht11-device)
@/read(dht11-device)
Reads the temperature and humidity.
DEV@/dht11-device
A DHT11 sensor or analog
DOpulse
Triggers new read
read(dht11-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.