3
0

Added missing . in setwarnings part

This commit is contained in:
K 2024-11-06 11:25:31 +05:30
parent 4e1a7a848a
commit 9c55bf7632
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -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: