Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cubieboard's support #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Cubieboard's support #37

wants to merge 3 commits into from

Conversation

kalemena
Copy link

@kalemena kalemena commented Oct 4, 2015

Hi,
Thanks for this lib I've been using for the past year or so!
I did minor changes if you care about supporting Cubieboard v2 GpiO.
Tested using Cubian r4 as OS image.
Regards

Added indirection using mapping of pin to path or pin number.
Test 16 GPIOs plugged on to sainsmart 16 channel relays.
@rzr
Copy link
Collaborator

rzr commented Jul 5, 2018

Maybe you'll be interested in:
#42

@rzr
Copy link
Collaborator

rzr commented Jul 9, 2018

For design concern, I would suggest to load mapping from a separate file matching the platform you are using.
to keep genericity in gpio.js.

@rzr
Copy link
Collaborator

rzr commented Aug 1, 2018

Is there any interest to upstream this for next release ?

@EnotionZ EnotionZ mentioned this pull request Sep 27, 2018
@EnotionZ
Copy link
Owner

I can prioritize #51 before we consider merging this. It'll create a nicer, extensible way to support different mappings such as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants