changed wrong pin

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 19:03:19 +02:00
parent 27f73dee18
commit f3879e96c0
1 changed files with 2 additions and 1 deletions

View File

@ -5,10 +5,11 @@ import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
pins = [8,10,12,16,18,20,22,24]
pins = [8,10,12,16,18,22,24,26]
for pin in pins:
print(pin)
GPIO.setup(pin, GPIO.OUT)
time.sleep(float(0.5))
GPIO.output(pin, GPIO.HIGH)
GPIO.cleanup