parent
67096d6002
commit
15d3d591ec
2
test.py
2
test.py
|
@ -6,11 +6,11 @@ import RPi.GPIO as GPIO
|
||||||
GPIO.setmode(GPIO.BCM)
|
GPIO.setmode(GPIO.BCM)
|
||||||
|
|
||||||
GPIO.setup(4, GPIO.OUT)
|
GPIO.setup(4, GPIO.OUT)
|
||||||
|
GPIO.cleanup()
|
||||||
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)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
GPIO.cleanup()
|
|
||||||
|
|
||||||
# def debug_print(message: str):
|
# def debug_print(message: str):
|
||||||
# now = datetime.now()
|
# now = datetime.now()
|
||||||
|
|
Loading…
Reference in New Issue