This commit is contained in:
qo-op 2020-03-19 20:11:12 +00:00
джерело bf8a2c626f
коміт e0b3da4856
1 змінених файлів з 11 додано та 0 видалено

11
debug/GSM_PWRKEY.py Executable file

@ -0,0 +1,11 @@
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BOARD)
GPIO.setup(7, GPIO.OUT)
while True:
GPIO.output(7, GPIO.LOW)
time.sleep(4)
GPIO.output(7, GPIO.HIGH)
break
GPIO.cleanup()