DG1BGS post at 2018-7-6 16:19:22

Orange Pi Zero+Raspbian Server+GPIO issues

Edited by DG1BGS at 2018-7-6 16:21

Hi all,
I'm new to the Orange Pi family and also to the forum but I hope someonecan point me in the right direction. I was just setting up a Orange Pi Zerowith Raspbian Server 2018-02-07which I downloaded from the official website.Now I'm facing the first issue. The software I want to run needs access tosome of the GPIO ports. I found the GPIO-folder under /sys/class/gpio, but when I e.g. try to export PA10 with
echo "10" > /sys/class/gpio/export
I get -bash: echo: write error: Device or resource busy.
After I while I installed WiringOP from https://github.com/zhaolei/WiringOP.git-b h3 and I’m able to do gpio readall and also tomanipulate the pins. But when I do
gpio export 10 in
I get gpio: Unable to openGPIO direction interface for pin 10: No such file or directory.
Everything above was done as root.

Any ideas? Thanks!
page: [1]
View full version: Orange Pi Zero+Raspbian Server+GPIO issues