parent
ae0e0725d8
commit
f0805e4c08
4
test.py
4
test.py
|
@ -6,10 +6,10 @@ import RPi.GPIO as GPIO
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|
||||||
GPIO.setup(4, GPIO.OUT)
|
GPIO.setup(4, GPIO.OUT)
|
||||||
GPIO.output(4, GPIO.LOW)
|
|
||||||
time.sleep(1)
|
|
||||||
GPIO.output(4, GPIO.HIGH)
|
GPIO.output(4, GPIO.HIGH)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
GPIO.output(4, GPIO.LOW)
|
||||||
|
time.sleep(1)
|
||||||
GPIO.cleanup()
|
GPIO.cleanup()
|
||||||
|
|
||||||
# def debug_print(message: str):
|
# def debug_print(message: str):
|
||||||
|
|
Loading…
Reference in New Issue