geissdoerfer/shepherd

Non-persistent GPIO state with new python-periphery

Opened this issue · 0 comments

In some cases, shepherd relies on being able to set the state of a GPIO from a python script and keeping that GPIO state even after the script has terminated. This was possible with python-periphery version 1.1.2. With the new version 2.0.0, all pins are reset and unexported, once the context from which they were configured dies.