Added description for setwarnings line
This commit is contained in:
parent
9c55bf7632
commit
2273a5f463
@ -21,8 +21,8 @@ import dht11
|
||||
import time
|
||||
|
||||
# initialize GPIO
|
||||
GPIO.setwarnings(False)
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
GPIO.setwarnings(False) # Set True if you are having trouble connecting the DHT11 sensor to Raspberry Pi. Doing so will show warnings on screen.
|
||||
GPIO.cleanup()
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user