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

Support GPIO pins above 31 #66

Open
sarfata opened this issue May 2, 2016 · 0 comments
Open

Support GPIO pins above 31 #66

sarfata opened this issue May 2, 2016 · 0 comments

Comments

@sarfata
Copy link
Owner

sarfata commented May 2, 2016

Right now we only support writing to the first GPIO register when setting or clearing pins. I do not think setting a GPIO above 32 works. But if we just changed our code a little bit, we could support it.

In the datasheet, page 90, we can see that there are two GPIO registers. One for GPIO from 0 to 31 and one for GPIO 32 to 53.

We should support using this if the channel number is > 32.

@sarfata sarfata changed the title Support setting all the GPIOs. Support GPIO pins above 31 May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant