Update gpiotel20.py

This commit is contained in:
Naveen A.B 2020-06-29 17:14:10 +05:30 committed by GitHub
parent 8a664b369c
commit ce92b236e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from gpiozero import CPUTemperature
led1 = 5 #Set the GPIO pin number of LED 1 led1 = 5 #Set the GPIO pin number of LED 1
led2 = 10 #Set the GPIO pin number of LED 2 led2 = 10 #Set the GPIO pin number of LED 2
GPIO.setmode(GPIO.BCM) # Use Board pin numbering GPIO.setmode(GPIO.BCM)
GPIO.setup(led1, GPIO.OUT) # Declaring the output pin GPIO.setup(led1, GPIO.OUT) # Declaring the output pin
GPIO.setup(led2, GPIO.OUT) # Declaring the output pin GPIO.setup(led2, GPIO.OUT) # Declaring the output pin