Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

Commit b4b3656

Browse files
committed
DHT11 support
1 parent 80848c3 commit b4b3656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dht.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def dht(my_board, callback=None):
9292
if not changed:
9393
# explicitly change the differential values
9494
my_board.set_pin_mode_dht(6, sensor_type=22, differential=20.0, callback=callback)
95-
my_board.set_pin_mode_dht(7, sensor_type=22, differential=2.0, callback=callback)
95+
my_board.set_pin_mode_dht(7, sensor_type=11, differential=2.0, callback=callback)
9696
changed = True
9797
except KeyboardInterrupt:
9898
board.shutdown()

0 commit comments

Comments
 (0)