i cannot use RPi.GPIO from bananapi it says: RuntimeError: This module can only be run on Raspberry Pi!
any fix for this?
i am using armbian-buster Linux bananapim2zero 5.10.43-sunxi
i cannot use RPi.GPIO from bananapi it says: RuntimeError: This module can only be run on Raspberry Pi!
any fix for this?
i am using armbian-buster Linux bananapim2zero 5.10.43-sunxi
rpi.gpio is deprecated even on Rpi…
Use alternative libraries that are known to work on armbian
https://forum.armbian.com/forum/40-reviews-tutorials-hardware-hacks/
i just forked and made new version of pyGPIO
i added support of BPi M2 Zero
I realize this is a 3 year old thread, but I’m new here and not finding what I need.
I tested this pyGPIO2 installation and it worked. Is there a WiringPi build that’s known to work on an M2 Zero? WiringBP builds if I lie and use the “-b bananapro” option in the git clone request. But it doesn’t set GPIO pins at all. “gpio -g mode 19 output; gpio -g write 19 1” and then “gpio readall” still shows GPIO 19 set as an input and a value of 0.