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

View File

@ -4,12 +4,13 @@ import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
pins = [8,10,12,16,18,22,24,26]
for pin in pins:
print(pin)
# GPIO.setup(pin, GPIO.OUT)
GPIO.setup(pin, GPIO.OUT)
GPIO.output(pin, False)
time.sleep(float(0.5))
GPIO.output(pin, True)