parent
41410cdfd5
commit
77a299ec9b
4
test.py
4
test.py
|
@ -10,8 +10,8 @@ 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(8, GPIO.HIGH)
|
GPIO.output(10, GPIO.HIGH)
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
GPIO.output(8, GPIO.LOW)
|
GPIO.output(10, GPIO.LOW)
|
||||||
|
|
||||||
GPIO.cleanup
|
GPIO.cleanup
|
Loading…
Reference in New Issue