fixed DPIN variable

This commit is contained in:
K 2024-10-07 01:41:22 +05:30
parent 258572a5d9
commit d7debe9f7c
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -1,6 +1,6 @@
# Specify the pin you'll be connecting the data/signal PIN of DHT11 to here:
PIN = 16
DPIN = "D" + PIN
DPIN = "D" + str(PIN)
import time
from board import PIN # By default I'm using GPIO PIN 16