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)
ready Has a value been read for both humidity and temperature?
terminate_background_thread(*args, **kwargs) Signal the background thread to stop.
read()[source]

Read signals from the DHT22 sensor.

ready

Has a value been read for both humidity and temperature?

terminate_background_thread(*args, **kwargs)[source]

Signal the background thread to stop.