parent
3d54870585
commit
fbf6f435f9
2
test.py
2
test.py
|
@ -10,7 +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, True)
|
# GPIO.output(pin, True)
|
||||||
time.sleep(float(0.5))
|
time.sleep(float(0.5))
|
||||||
GPIO.output(pin, False)
|
GPIO.output(pin, False)
|
||||||
GPIO.cleanup
|
GPIO.cleanup
|
Loading…
Reference in New Issue