please choosego to mobile | Continue to access the PC version
Author: linga51

GPIO library - WiringPi

[Copy link]

0

threads

12

posts

132

credits

Registered member

Rank: 2

credits
132
Published in 2015-10-9 17:13:16 | Show all floors
Edited by sauberpauli at 2015-10-9 17:16

I have adapted the wiringpi library (http://wiringpi.com/) to the Orange Pi PC.
Basic was the adaptation of https://github.com/LeMaker/WiringBP "banana pi pro" library.

Changes  ...
- 1. CPU from A20 to H3
- 2. Header Pinout
- 3. /dev/i2c device
- 4. gpio utility

Please test and check the version.



This thread contains more resources

You need to Log in to download or view,No account?    Register

x

5

threads

354

posts

2614

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2614
Published in 2015-10-9 20:55:33 | Show all floors
Edited by fritz at 2015-10-9 13:56

Good work!
Not tested yet
Why you do not put this on github so everybody can access it and can propose changes or add something via pull request etc. ?
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

2

threads

9

posts

133

credits

Registered member

Rank: 2

credits
133
Published in 2015-10-10 03:09:17 | Show all floors
sauberpauli replied at 2015-10-9 17:13
I have adapted the wiringpi library (http://wiringpi.com/) to the Orange Pi PC.
Basic was the adapt ...

Thank you! it helped me

0

threads

1

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2015-10-11 10:42:49 | Show all floors
excellent!
Reply

Use magic report

3

threads

39

posts

191

credits

Registered member

Rank: 2

credits
191
Published in 2015-10-11 18:28:28 | Show all floors
Great news ! tnx !

0

threads

2

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2015-10-15 17:58:13 | Show all floors
Thank you very much for your outstanding work you have done for the community!!

Im a biggener of linux/raspi/opi - so it is really a help for me!

let me ask a question : if the wPi -1 does it mean, that i can not modify it? is it correct? Or if I need to use wPi 0,2,3 /used in my scripts/ I have modify the library you posted?
Thanks in advance - and sorry asking this basics...

18

threads

303

posts

9574

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9574
Published in 2015-10-17 20:05:01 | Show all floors
For H3 python GPIO check it here:
H3 GPIO github

3

threads

13

posts

83

credits

Registered member

Rank: 2

credits
83
Published in 2015-10-19 18:25:18 | Show all floors
I have Orange Pi PC. There is no schematic, no /sys/class/gpio_sw/, no documentation that I can find, none of the examples I've seen work for GPIO - in fact looking through the Debian Jessie folders I can see nothing to do with GPIO whatsoever.

What way is this to sell a product? Can we have a working Raspbian - as promised in the advertising - that handless GPIO properly along with everything else.

If Orange Pi are not looking in - does anyone have any ideas how to get GPIO working on Orange Pi PC.  there is sun-xi stuff on the SD as far as I can tell and no /devices/class/gpio-anything?

3

threads

13

posts

83

credits

Registered member

Rank: 2

credits
83
Published in 2015-10-19 18:26:44 | Show all floors
Orange PI PC - Raspbrian - can't find working version.
GPIO for Orange PI PC - can't find anything that works.

10

threads

448

posts

5025

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5025
Published in 2015-10-19 19:54:58 | Show all floors
scargill replied at 2015-10-19 11:26
Orange PI PC - Raspbrian - can't find working version.
GPIO for Orange PI PC - can't find anything t ...

Everything you are looking for is already on this forum, just look harder.
You don't need to use Raspbian, it is just Debian adapted for RaspberryPI and it makes no sense to use it on OrangePI, use Debian or Ubuntu instead.

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

Points Rule

Quick reply Top Return list