Delete boton.py

This commit is contained in:
imvec
2022-09-02 12:42:03 +00:00
parent 74ae03c690
commit 56d1709cfe
-11
View File
@@ -1,11 +0,0 @@
from gpiozero import Button
from subprocess import check_call
from signal import pause
def disparo():
check_call(['python3', '/home/pi/PicaPiKAP/scripts/PicaPiKAP.py'])
shutdown_btn = Button(27, hold_time=2)
shutdown_btn.when_held = disparo
pause()