Source : reader¶
source code: reader¶
-
class
dhtioc.reader.DHT_sensor(pin, period)[source]¶ Get readings from DH22 sensor.
read()Read signals from the DHT22 sensor. read_in_background_thread(**kwargs)readyHas a value been read for both humidity and temperature? terminate_background_thread(*args, **kwargs)Signal the background thread to stop. -
ready¶ Has a value been read for both humidity and temperature?
-