You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I need to manually "unexport" pins after using this library. Let's say I've used pin 17 with the debounce example code. I'm unable to use the same pin again (using another library) without rebooting the Pi or running a command like this:
Otherwise the other library fails with: RequestLine returned error: device or resource busy. And no I'm not running both programs at the same time. Apologies if this is normal, I don't know much about GPIO. To Reproduce
Steps to reproduce the behavior:
Describe the bug
I need to manually "unexport" pins after using this library. Let's say I've used pin 17 with the debounce example code. I'm unable to use the same pin again (using another library) without rebooting the Pi or running a command like this:
$ sudo bash -c "for ((i=0; i<32; i++)); do echo \$i >/sys/class/gpio/unexport; done"
Otherwise the other library fails with:
RequestLine returned error: device or resource busy
. And no I'm not running both programs at the same time. Apologies if this is normal, I don't know much about GPIO.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be able to reuse the same pin. I think it would be nice to have a function that unexports and people would defer that.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: