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

Compatibility Question #4

Open
cointrek opened this issue Jan 12, 2019 · 1 comment
Open

Compatibility Question #4

cointrek opened this issue Jan 12, 2019 · 1 comment

Comments

@cointrek
Copy link

cointrek commented Jan 12, 2019

The GPIO on the RockPro64 are similar. Would this library work on that board too?

The readme said no guarantees. I was just interested in thoughts.

@simonboydfoley
Copy link

coinrek
This library does work on the RockPro64 you just need to make the following changes in _GPIO.py

ROCK_valid_channels = [52,53,152,54,50,33,48,39,41,43,155,156,125,122,121,148,147,120,36,149,153,42,45,44,124,126,123,127]
BOARD_to_ROCK = [0,0,0,52,0,53,0,152,148,0,147,54,120,50,0,33,36,0,149,48,0,39,153,41,42,0,45,43,44,155,0,156,124,125,0,122,126,121,123,0,127]
BCM_to_ROCK = [43,44,52,53,152,155,156,45,42,39,48,41,124,125,148,147,124,54,120,122,123,127,33,36,149,153,121,50]

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

No branches or pull requests

2 participants