View: 5267|Reply: 4

GPIO with OpenElec

[Copy link]

4

threads

53

posts

2936

credits

Gold member

Rank: 6Rank: 6

credits
2936
Published in 2016-6-6 22:44:45 | Show all floors |Read mode
Hi, i saw with RPI is possible to use GPIO under OpneElec with RPi.GPIO unofficial add-on (link)
is there a add-ons like this for Opi?
Or, are there different ways to use GPIO with python scripts?

Thanks

4

threads

53

posts

2936

credits

Gold member

Rank: 6Rank: 6

credits
2936
 Author| Published in 2016-6-7 06:33:37 | Show all floors
I had already seen this page... Changing the file package.mk should be possible. Next days if I will have time (tomorow I will go in South Arabia for three weeks...) I will try

4

threads

1118

posts

9195

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9195
Published in 2016-6-6 23:54:26 | Show all floors
RPi.GPIO is highly specific to raspberry pi and thus not included here (I'm not sure it would even compile). I think that port for OrangePi exists (check Interfaces subforum). There is no plan to add anything similar, but contributions are always accepted.

4

threads

53

posts

2936

credits

Gold member

Rank: 6Rank: 6

credits
2936
 Author| Published in 2016-6-7 05:03:26 | Show all floors
yes, for Orange PI H3 is possible use some libraries  (dicussion), but i think is not possible use directly on OpenElec by users, true?

Maybe is possible make a add-on for  unofficial orange pi  add-ons, but i don't know yet from where start

4

threads

1118

posts

9195

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9195
Published in 2016-6-7 05:08:20 | Show all floors
Should be pretty easy. Just take RPi GPIO package as template: https://github.com/OpenELEC/unof ... dons/tools/RPi.GPIO
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list