geissdoerfer / shepherd

MIT License
13 stars 6 forks source link

Non-persistent GPIO state with new python-periphery #11

Open geissdoerfer opened 5 years ago

geissdoerfer commented 5 years ago

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.