parent
fb90b45f69
commit
ebf6d095ef
2
test.py
2
test.py
|
@ -3,7 +3,6 @@ import time
|
|||
from datetime import datetime
|
||||
import RPi.GPIO as GPIO
|
||||
|
||||
GPIO.cleanup()
|
||||
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
|
||||
|
@ -12,6 +11,7 @@ GPIO.output(4, GPIO.HIGH)
|
|||
time.sleep(1)
|
||||
GPIO.output(4, GPIO.LOW)
|
||||
time.sleep(1)
|
||||
GPIO.cleanup()
|
||||
|
||||
# def debug_print(message: str):
|
||||
# now = datetime.now()
|
||||
|
|
Loading…
Reference in New Issue