We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In components/src/motion/ak8963/ak8963.adb, procedure Get_Heading, it says
if Status = Ok then Mx := Mx * ((Float (Buffer (1)) - 128.0) / 256.0 + 1.0); My := My * ((Float (Buffer (1)) - 128.0) / 256.0 + 1.0); Mz := Mz * ((Float (Buffer (1)) - 128.0) / 256.0 + 1.0); end if;
The Y component should use Buffer (2), the Z component should use Buffer (3).
The text was updated successfully, but these errors were encountered:
Fix the read operation for the AK8963 magnitometer.
a1d3a6e
As noted by issue #59
Thanks Simon, this is now fixed.
Sorry, something went wrong.
No branches or pull requests
In components/src/motion/ak8963/ak8963.adb, procedure Get_Heading, it says
The Y component should use Buffer (2), the Z component should use Buffer (3).
The text was updated successfully, but these errors were encountered: