PeteLawler / BeagleBrew

A Beaglebone Black fork of a Raspberry Pi Temperature Controller for homebrewing and sous vide cooking
1 stars 1 forks source link

No cleanup and shutdown #13

Open PeteLawler opened 8 years ago

PeteLawler commented 8 years ago

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

PeteLawler commented 8 years ago

Although #11 was fixed, there's still not guarantee that GPIOs are returned to default state at exit.

PeteLawler commented 8 years ago

There's no app.stop in Flask. Need to set up: 1) Route for /shutdown 2) atexit 3) ^C signal

PeteLawler commented 7 years ago

Everything's fine at power up from cold. As per the original system. This is an enhancement.