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

init method resets ranges #64

Open
anti-social opened this issue May 31, 2024 · 0 comments
Open

init method resets ranges #64

anti-social opened this issue May 31, 2024 · 0 comments

Comments

@anti-social
Copy link

There are constructors that allow to set accelerometer and gyro ranges: new_with_sens and new_with_addr_and_sens. But an init method resets the ranges to AccelRange::G2 and GyroRange::D250: init

It looks strange for me as how I can understand init is required to be called. If it is true then the constructors do not make sense at all.

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

1 participant