next text

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 18:41:32 +02:00
parent 1ecbbc6f87
commit 41410cdfd5
1 changed files with 5 additions and 4 deletions

View File

@ -9,8 +9,9 @@ pins = [8,10,12,14,18,20,22,24]
for pin in pins: for pin in pins:
GPIO.setup(pin, GPIO.OUT) GPIO.setup(pin, GPIO.OUT)
GPIO.output(pin, GPIO.LOW)
time.sleep(0.001) GPIO.output(8, GPIO.HIGH)
GPIO.output(pin, GPIO.HIGH) time.sleep(30)
time.sleep(0.001) GPIO.output(8, GPIO.LOW)
GPIO.cleanup GPIO.cleanup