Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: linga51

GPIO library - WiringPi

[Copy link]

0

Threads

1

Posts

138

Credits

Registered member

Rank: 2

Credits
138
Post time 2015-8-13 17:18:04 | Show all posts
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

0

Threads

19

Posts

111

Credits

Registered member

Rank: 2

Credits
111
Post time 2015-8-15 05:46:40 | Show all posts
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
Post time 2015-8-15 12:23:16 | Show all posts
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

95

Posts

516

Credits

Senior member

Rank: 4

Credits
516
Post time 2015-8-15 14:54:27 | Show all posts
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

355

Posts

2102

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2102
Post time 2015-8-15 15:37:37 | Show all posts
@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 .....

0

Threads

19

Posts

111

Credits

Registered member

Rank: 2

Credits
111
Post time 2015-8-15 15:38:07 From the mobile phone | Show all posts
@Vladimir55 there is an attachment file with the library post #10 of this thread.

0

Threads

19

Posts

111

Credits

Registered member

Rank: 2

Credits
111
Post time 2015-8-15 16:14:28 From the mobile phone | Show all posts
@Vladimir55 there is an attachment file with the library, post #10 of this thread.

5

Threads

355

Posts

2102

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2102
Post time 2015-8-15 16:43:17 | Show all posts
@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 .....

0

Threads

19

Posts

111

Credits

Registered member

Rank: 2

Credits
111
Post time 2015-8-15 17:04:38 From the mobile phone | Show all posts
@fritz but did you manage to make gpio working?

5

Threads

355

Posts

2102

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
2102
Post time 2015-8-15 17:11:29 | Show all posts
@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 the Code

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

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-13 17:32 GMT+8 , Processed in 0.039382 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list