{"action":"created","issue":{"url":"https://api.github.com/repos/mholgatem/gpioneer/issues/11","repository_url":"https://api.github.com/repos/mholgatem/gpioneer","labels_url":"https://api.github.com/repos/mholgatem/gpioneer/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mholgatem/gpioneer/issues/11/comments","events_url":"https://api.github.com/repos/mholgatem/gpioneer/issues/11/events","html_url":"https://github.com/mholgatem/gpioneer/issues/11","id":256190014,"number":11,"title":"Will this work on retrorangepi ?","user":{"login":"PaddleStroke","id":19984177,"avatar_url":"https://avatars2.githubusercontent.com/u/19984177?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddleStroke","html_url":"https://github.com/PaddleStroke","followers_url":"https://api.github.com/users/PaddleStroke/followers","following_url":"https://api.github.com/users/PaddleStroke/following{/other_user}","gists_url":"https://api.github.com/users/PaddleStroke/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddleStroke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddleStroke/subscriptions","organizations_url":"https://api.github.com/users/PaddleStroke/orgs","repos_url":"https://api.github.com/users/PaddleStroke/repos","events_url":"https://api.github.com/users/PaddleStroke/events{/privacy}","received_events_url":"https://api.github.com/users/PaddleStroke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-08T09:14:02Z","updated_at":"2017-09-08T15:58:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI was wondering if it would work on orange pi with retrorangepi as well?\r\n\r\nI would like to have such PCB : http://gerblook.org/image/jfnptPNHwWvm8oYp3N9gxa/top.png \r\nto work from GPIO of orange pi.\r\n\r\nIf you can help or tell me how  I can adapt the drivers to have it working it would be really awesome :)"},"comment":{"url":"https://api.github.com/repos/mholgatem/gpioneer/issues/comments/328143787","html_url":"https://github.com/mholgatem/gpioneer/issues/11#issuecomment-328143787","issue_url":"https://api.github.com/repos/mholgatem/gpioneer/issues/11","id":328143787,"user":{"login":"mholgatem","id":6432985,"avatar_url":"https://avatars0.githubusercontent.com/u/6432985?v=4","gravatar_id":"","url":"https://api.github.com/users/mholgatem","html_url":"https://github.com/mholgatem","followers_url":"https://api.github.com/users/mholgatem/followers","following_url":"https://api.github.com/users/mholgatem/following{/other_user}","gists_url":"https://api.github.com/users/mholgatem/gists{/gist_id}","starred_url":"https://api.github.com/users/mholgatem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholgatem/subscriptions","organizations_url":"https://api.github.com/users/mholgatem/orgs","repos_url":"https://api.github.com/users/mholgatem/repos","events_url":"https://api.github.com/users/mholgatem/events{/privacy}","received_events_url":"https://api.github.com/users/mholgatem/received_events","type":"User","site_admin":false},"created_at":"2017-09-08T15:58:44Z","updated_at":"2017-09-08T15:58:44Z","author_association":"OWNER","body":"unfortunately no, it won't work as is. It relies on the **RPi.gpio python module**, which does not work on the orange pi. \r\n **_-but-_**\r\nThere is a supposed 'drop in replacement' called [OPi.gpio](https://opi-gpio.readthedocs.io/en/latest/api-documentation.html). If it truly is a drop in replacement, then it should be pretty easy to get it working on the orange pi. \r\n\r\n- First, you will need to make sure that it is installed for your python library. (hint: sudo pip install --upgrade OPi.GPIO)\r\n- Then you will need to replace the import command (line 14 in GPioneer.py) with `import OPi.GPIO as GPIO`\r\n\r\nIn theory, that should get it working. I'm not sure if the included installer will run properly or not. "}}
{"actor":{"display_login":"mholgatem"}}