View: 4028|Reply: 0

Orange Pi Zero+Raspbian Server+GPIO issues

[Copy link]

1

threads

1

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2018-7-6 16:19:22 | Show all floors |Read mode
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
  1. echo "10" > /sys/class/gpio/export
Copy code

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
  1. gpio export 10 in
Copy code

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!

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list