Skip to content

Commit 1d3929f

Browse files
committed
Fix issue #32
1 parent 85a8f32 commit 1d3929f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_dht.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _get_pulses_bitbang(self):
160160
timestamp = time.monotonic() # take timestamp
161161
dhtval = True # start with dht pin true because its pulled up
162162
dhtpin.direction = Direction.INPUT
163-
dhtpin.pull = Pull.UP
163+
dhtpin.pull = None
164164
while time.monotonic() - timestamp < 0.25:
165165
if dhtval != dhtpin.value:
166166
dhtval = not dhtval # we toggled

0 commit comments

Comments
 (0)