Rename module from motor_passo to spectrometer

This commit is contained in:
2023-10-29 20:56:03 -03:00
parent 02051ebda7
commit 00633508f0
15 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
import signal
def _cleanup(*args, **kwargs):
import sys
import RPi.GPIO as gpio
gpio.cleanup()
sys.exit(0)
def setup_cleanup():
signal.signal(signal.SIGINT, _cleanup)