Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Adafruit_DHT/platform_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def pi_version():
elif match.group(1) == 'BCM2709':
# Pi 2
return 2
elif match.group(1) == 'BCM2835':
# Pi 3
return 2
else:
# Something else, not a pi.
return None
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ Updated for Python 3
==================================
Tested on a Raspberry Pi 2.

Updated for Support of Pi3 wit Python3
======================================
Tested with Pi3 but from time to time the DHT22 returns NONE and the program ends...