parent
83c8f13c74
commit
2ad871446f
4
test.py
4
test.py
|
@ -6,9 +6,9 @@ import RPi.GPIO as GPIO
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|
||||||
GPIO.setup(19, GPIO.OUT)
|
GPIO.setup(19, GPIO.OUT)
|
||||||
GPIO.output(19, GPIO.HIGH)
|
|
||||||
time.sleep(1)
|
|
||||||
GPIO.output(19, GPIO.LOW)
|
GPIO.output(19, GPIO.LOW)
|
||||||
|
time.sleep(1)
|
||||||
|
GPIO.output(19, GPIO.HIGH)
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue