We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef10972 commit 85b6a36Copy full SHA for 85b6a36
adafruit_dht.py
@@ -138,7 +138,8 @@ def _get_pulses_bitbang(self):
138
dhtpin.value = True
139
time.sleep(0.1)
140
dhtpin.value = False
141
- time.sleep(self._trig_wait // 1000000) # Using the time to pull-down the line according to DHT Model
+ # Using the time to pull-down the line according to DHT Model
142
+ time.sleep(self._trig_wait // 1000000)
143
timestamp = time.monotonic() # take timestamp
144
dhtval = True # start with dht pin true because its pulled up
145
dhtpin.direction = Direction.INPUT
0 commit comments