Open PeteLawler opened 8 years ago
Although #11 was fixed, there's still not guarantee that GPIOs are returned to default state at exit.
There's no app.stop in Flask. Need to set up:
1) Route for /shutdown
2) atexit
3) ^C signal
Everything's fine at power up from cold. As per the original system. This is an enhancement.
In the original code, there was a script
cleanupGPIO.py
. This had hardcoded values and was specific to RPi to clean up the GPIO pins after exit. GPIO.cleanup needs to be more generic than that, thus the file was deleted in change 3d88020ef56b1ff689d86aad550385107e727bc0