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 5c1da73 commit 16400dfCopy full SHA for 16400df
examples/dht_simpletest.py
@@ -3,7 +3,12 @@
3
import adafruit_dht
4
5
# Initial the dht device, with data pin connected to:
6
-dhtDevice = adafruit_dht.DHT22(board.D18, use_pulseio=False)
+dhtDevice = adafruit_dht.DHT22(board.D18)
7
+
8
+# you can pass DHT22 use_pulseio=False if you wouldn't like to use pulseio.
9
+# This may be necessary on a Linux single board computer like the Raspberry Pi,
10
+# but it will not work in CircuitPython.
11
+#dhtDevice = adafruit_dht.DHT22(board.D18, use_pulseio=False)
12
13
while True:
14
try:
0 commit comments