Skip to content

Commit

Permalink
dht pin
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas6 committed Jan 26, 2025
1 parent 9e6993d commit 51d322f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/base/.local/share/services/generic/dht/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import adafruit_dht

# Initial the dht device, with data pin connected to:
dhtDevice = adafruit_dht.DHT22(board.D18)
dhtDevice = adafruit_dht.DHT22(board.D4)

# you can pass DHT22 use_pulseio=False if you wouldn't like to use pulseio.
# This may be necessary on a Linux single board computer like the Raspberry Pi,
Expand Down

0 comments on commit 51d322f

Please sign in to comment.