From 9c55bf7632c8acd9dd37bb625b17f20242e30949 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Wed, 6 Nov 2024 11:25:31 +0530 Subject: [PATCH] Added missing . in setwarnings part --- Practical/Assignment-2/IoT - Codes-2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Practical/Assignment-2/IoT - Codes-2.py b/Practical/Assignment-2/IoT - Codes-2.py index 08353ca..8d98172 100644 --- a/Practical/Assignment-2/IoT - Codes-2.py +++ b/Practical/Assignment-2/IoT - Codes-2.py @@ -11,7 +11,7 @@ Code from InternetOfThingsAndEmbeddedSystems (SPPU - Third Year - Computer Engin import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) -GPIO setwarnings(False) +GPIO.setwarnings(False) GPIO.setup(16,GPIO.OUT) try: while True: @@ -30,7 +30,7 @@ except: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) -GPIO setwarnings(False) +GPIO.setwarnings(False) GPIO.setup(16,GPIO.OUT) GPIO.setup(26,GPIO.OUT) try: