fixed DPIN variable
This commit is contained in:
parent
8be043a952
commit
73c967ed31
@ -1,6 +1,6 @@
|
|||||||
# Specify the pin you'll be connecting the data/signal PIN of DHT11 to here:
|
# Specify the pin you'll be connecting the data/signal PIN of DHT11 to here:
|
||||||
PIN = 16
|
PIN = 16
|
||||||
DPIN = "D" + PIN
|
DPIN = "D" + str(PIN)
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from board import PIN # By default I'm using GPIO PIN 16
|
from board import PIN # By default I'm using GPIO PIN 16
|
||||||
|
Loading…
Reference in New Issue
Block a user