Skip to content

Conversation

RenMurakami
Copy link
Contributor

This module does not have a way to set sample rate manually.

_DEFAULT_REPORT_INTERVAL sets fixed rate

_DEFAULT_REPORT_INTERVAL has fixed sample rate value.

Need to make _get_feature_enable_report public not private

_get_feature_enable_report set sample rate. I needs to be get_feature_enable_report, so users can set sample rate manually.

bno.enable_feature(BNO_REPORT_ACCELEROMETER, REPORT_INTERVAL)
This is how to set report interval.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this.

I think this is fine in order to expose the capability as a public API. Looks good to me, did not test, don't have the hardware.

@FoamyGuy FoamyGuy merged commit 0294968 into adafruit:main Oct 2, 2025
1 check passed
adafruit-adabot pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 3, 2025
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