added LOW

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 19:04:44 +02:00
parent f3879e96c0
commit 6bd7b0d2c7
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ pins = [8,10,12,16,18,22,24,26]
for pin in pins: for pin in pins:
print(pin) print(pin)
GPIO.setup(pin, GPIO.OUT) GPIO.setup(pin, GPIO.OUT)
GPIO.output(pin, GPIO.LOW)
time.sleep(float(0.5)) time.sleep(float(0.5))
GPIO.output(pin, GPIO.HIGH) GPIO.output(pin, GPIO.HIGH)
GPIO.cleanup GPIO.cleanup