From 8ca6a2723a943ee111e8ef96c57a31ae3caa1051 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Tue, 29 Sep 2020 18:21:56 +0200 Subject: [PATCH] pulseio activated for my raspis --- dht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dht.py b/dht.py index e431bdf..a4161b7 100644 --- a/dht.py +++ b/dht.py @@ -20,7 +20,7 @@ class dht_22(background_task): self.__data_callback__ = data_callback # Initial the dht device, with data pin connected to: if not DEBUG: - self.__dht_device__ = adafruit_dht.DHT22(gpio, use_pulseio=False) + self.__dht_device__ = adafruit_dht.DHT22(gpio) # Initialise background_task background_task.__init__(self)