parent
7125d2fd03
commit
40fae8aa14
1
test.py
1
test.py
|
@ -8,6 +8,7 @@ GPIO.setmode(GPIO.BOARD)
|
||||||
pins = [8,10,12,14,18,20,22,24]
|
pins = [8,10,12,14,18,20,22,24]
|
||||||
|
|
||||||
for pin in pins:
|
for pin in pins:
|
||||||
|
print(pin)
|
||||||
GPIO.setup(pin, GPIO.OUT)
|
GPIO.setup(pin, GPIO.OUT)
|
||||||
GPIO.output(pin, GPIO.LOW)
|
GPIO.output(pin, GPIO.LOW)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue