parent
ece3b055ea
commit
e405a2e465
2
test.py
2
test.py
|
@ -9,7 +9,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, False)
|
GPIO.output(pin, False)
|
||||||
time.sleep(float(0.5))
|
time.sleep(float(0.5))
|
||||||
GPIO.output(pin, True)
|
GPIO.output(pin, True)
|
||||||
|
|
Loading…
Reference in New Issue