diff --git a/boton.py b/boton.py deleted file mode 100644 index a317c80..0000000 --- a/boton.py +++ /dev/null @@ -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()