Author: linga51

GPIO library - WiringPi

[Copy link]

0

threads

1

posts

138

credits

Registered member

Rank: 2

credits
138
Published in 2015-8-13 17:18:04 | Show all floors
Hi all) waiting for my Pi 2 mini board.. and search some info

Is there some ready gpio lib like wiringPi for Pi2 mini? (perfectly that works in deb/ubuntu images) ... Looking for some manuals/ info/ libs ...

Want to connect Pi 2mini  to 16/2 Lcd with i2c (twi) ... and get some system info on it)))

Thanks

1

threads

20

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2015-8-15 05:46:40 | Show all floors
Hi,

I am also trying to use gpio on Orange Pi 2. I first tried on Ubuntu Mate and installed the modified wiringPi for H3, then tried the following tutorial https://projects.drogon.net/rasp ... les-1-a-single-led/

But it didn't work out. Therefor I installed raspbian where GPIO is already compiled, I tried the same tutorial but still didn't work. Then i tried with blink.c like in the Orange Pi documentation http://www.orangepi.org/Docs/WiringPi.html and this didn't work as well.

Of course I put a led between the con 3 and 11 with resistor. (my LED work if I connect to the con1 instead of 11 in order to test it)

Does someone manage to simply play with LED, could explain how to do?

Thanks

3

threads

28

posts

151

credits

Registered member

Rank: 2

credits
151
Published in 2015-8-15 12:23:16 | Show all floors
Hi!
I have a mini 2
GPIO is not working no where.
How did you manage to load the library?
git clone https://github.com/orangepi-xunlong/WiringOP -b oranzhepymini
asks for a password ... ??
Thank you.

5

threads

94

posts

516

credits

Senior member

Rank: 4

credits
516
Published in 2015-8-15 14:54:27 | Show all floors
In my Opinion, an advanced user should post all the tests related to GPIO for every board available out there in Orange pi family.
Quack A Doodle Doo

5

threads

354

posts

2731

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2731
Published in 2015-8-15 15:37:37 | Show all floors
@Vladimir55
git clone https://github.com/orangepi-xunlong/WiringOP this repo does NOT EXIST!
instructions from http://www.orangepi.org/Docs/WiringPi.html are partially FAKE!
You need to adapt yourself to the H3 the library from http://wiringpi.com/
Thats the reality.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

20

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2015-8-15 15:38:07 from mobile | Show all floors
@Vladimir55 there is an attachment file with the library post #10 of this thread.

1

threads

20

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2015-8-15 16:14:28 from mobile | Show all floors
@Vladimir55 there is an attachment file with the library, post #10 of this thread.

5

threads

354

posts

2731

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2731
Published in 2015-8-15 16:43:17 | Show all floors
@alexparadise
This library is for the bananapi with latest commits from Tony Zhang simply renamed to orangepi not a single commit from @steven_zhao

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

20

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2015-8-15 17:04:38 from mobile | Show all floors
@fritz but did you manage to make gpio working?

5

threads

354

posts

2731

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2731
Published in 2015-8-15 17:11:29 | Show all floors
@alexparadise
No, I have read today for the first time this thread.

probably needs to be adapted to the H3.

@All
  1. git clone https://github.com/LeMaker/WiringBP
Copy code

This is the same library with latest commits!
open your eyes!
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list