@@ -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)