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

Use bcm_host built-in library to determine peripheral base #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rpearl
Copy link

@rpearl rpearl commented Dec 29, 2019

Instead of hardcoding a bunch of peripheral bases, the Raspberry Pi org's documented way to do this is to use the bcm_host library. This will also ensure compatibility with future hardware revisions, even if the peripheral base changes.

@rpearl
Copy link
Author

rpearl commented Dec 29, 2019

👋 I meant to do this a while ago, but I left the code on a pi without internet access for a while and forgot to rewrite it

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.

None yet

1 participant