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

Enable the axis remapping functionality already present in begin(). #27

Closed

Conversation

tasogarenokagi
Copy link

The axis remapping functionality of the BNO055 was already added by a previous contributor, though left commented out. I re-enabled it and added additional parameters to begin() to pass in the required values. Default values for these parameters ensure existing client code will still work as before.

I also removed the associated enums. They were not used anywhere since the code was originally commented out, and simplified the remapping configurations to a degree that was restrictive.

No known limitations since it's all I2C.

Tested both default and remapped operation with a Feather M0.

Also removed the associated enums.  They were otherwise not used and excessively restricted axis remapping.

Default parameters are provided so existing code should be unaffected.
@microbuilder
Copy link
Contributor

Similar code was merged in via #38

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.

2 participants