parent
15d3d591ec
commit
ade4cc7f5d
2
test.py
2
test.py
|
@ -5,8 +5,8 @@ import RPi.GPIO as GPIO
|
||||||
|
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|
||||||
GPIO.setup(4, GPIO.OUT)
|
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
GPIO.setup(4, GPIO.OUT)
|
||||||
GPIO.output(4, GPIO.HIGH)
|
GPIO.output(4, GPIO.HIGH)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
GPIO.output(4, GPIO.LOW)
|
GPIO.output(4, GPIO.LOW)
|
||||||
|
|
Loading…
Reference in New Issue