Gpio cleanup in Python
I get allways this failure message on my Omega2+: IOError: [Errno 16] Resource busy
Do you have an idea, how to do a Gpio cleanup using Python?
I may be wrong but I think you just call
That is what I get from onionGpio.py anyway.
Thanks for the hint! You will have to call
gpioObject._freeGpio, then it will work.
also after calling gpioObject._freeGpio
I still get IOError: [Errno 16] Resource busy
I use the official python example, and still get IOError: [Errno 16] Resource busy.
After calling gpioObject._freeGpio, the problem still exists.
and I try to use os.system("echo 14>/sys/class/gpio/unexport"), but still fail.
Can anybody help?