-
Notifications
You must be signed in to change notification settings - Fork 83
i can't use mpu6050 by ur module as the demo. #19
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
Comments
The 'Y' side I2C connection is on Y9 and Y10. See the docs. |
but i still met the same problem that" I2C failure when communicating with IMU". how can i do next? |
and when it inits, i have to wait for over 30 seconds, it that too slow |
and when it inits, i have to wait for over 30 seconds, it that too slow? |
I can't explain that behaviour. Initialisation is normally immediate. I wonder if you have a genuine InvenSense chip or a Chinese clone? |
Closing this. I assume it's resolved. |
i had tested the the code:
`from imu import MPU6050
imu = MPU6050('Y')
print(imu.accel.xyz)
print(imu.gyro.xyz)
print(imu.temperature)
print(imu.accel.z)`
i connnected "X9" and "X10" for "SCL" and ""SDA".
but always :MPUException: I2C failure when communicating with IMU.
Thank you for help!
The text was updated successfully, but these errors were encountered: