Browse Source

pulseio activated for my raspis

spike_filter
Dirk Alders 4 years ago
parent
commit
8ca6a2723a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dht.py

+ 1
- 1
dht.py View File

@@ -20,7 +20,7 @@ class dht_22(background_task):
20 20
         self.__data_callback__ = data_callback
21 21
         # Initial the dht device, with data pin connected to:
22 22
         if not DEBUG:
23
-            self.__dht_device__ = adafruit_dht.DHT22(gpio, use_pulseio=False)
23
+            self.__dht_device__ = adafruit_dht.DHT22(gpio)
24 24
         # Initialise background_task
25 25
         background_task.__init__(self)
26 26
 

Loading…
Cancel
Save