From d5bc702107bdad716f204e5af0af75fda4684145 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Wed, 6 Nov 2024 11:53:41 +0530 Subject: [PATCH] Added description in temp-calc for setwarnings --- temp-calc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temp-calc.py b/temp-calc.py index 0130e86..64a9b7f 100755 --- a/temp-calc.py +++ b/temp-calc.py @@ -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()