Added description in temp-calc for setwarnings
This commit is contained in:
parent
34360e2c34
commit
d5bc702107
@ -5,7 +5,7 @@ import dht11
|
||||
import time
|
||||
|
||||
# initialize GPIO
|
||||
GPIO.setwarnings(False)
|
||||
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.setmode(GPIO.BCM)
|
||||
GPIO.cleanup()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user