Added missing . in setwarnings part
This commit is contained in:
parent
4e1a7a848a
commit
9c55bf7632
@ -11,7 +11,7 @@ Code from InternetOfThingsAndEmbeddedSystems (SPPU - Third Year - Computer Engin
|
|||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import time
|
import time
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
GPIO setwarnings(False)
|
GPIO.setwarnings(False)
|
||||||
GPIO.setup(16,GPIO.OUT)
|
GPIO.setup(16,GPIO.OUT)
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
@ -30,7 +30,7 @@ except:
|
|||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import time
|
import time
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
GPIO setwarnings(False)
|
GPIO.setwarnings(False)
|
||||||
GPIO.setup(16,GPIO.OUT)
|
GPIO.setup(16,GPIO.OUT)
|
||||||
GPIO.setup(26,GPIO.OUT)
|
GPIO.setup(26,GPIO.OUT)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user