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

fix mpu6050 sensor initialization issue #494

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

Conversation

Bartosz89k
Copy link

In my case the sensor (mpu6050), was not initialized correctly and returns erroneous data.
The proposed changes works fine.
In particular, I'm not sure why the second byte (0x80 == 1000 0000) is messing up the initialization.
As I understand from the documentation (page 40):
https://pdf1.alldatasheet.com/datasheet-pdf/view/1132807/TDK/MPU-6050.html
the seventh bit of register 0x6b should be set to one:
0x80 = 1000 0000
but it doesn't work that way.

@lurch
Copy link
Contributor

lurch commented May 1, 2024

Related to #352 and the big discussion in #319 ?

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