6 years, 5 months ago.

Why the MPU6050_Example cannot write offsetAddress?

First all, my system is Nucleo-F103RB. And installing MPU6050_Example, and change SDA/SCL to PB_11,PB_10. Program can success pass like below ------------- Initializing I2C devices... Testing device connections... MPU6050 connection successful Updating internal sensor offsets... ------------- but when i send offset like "I2Cdev::writeWord(0x68, MPU6050_RA_XA_OFFS_H,900);" or "accelgyro.setXAccelOffset(900);"

The register seems not write in. However, the same code implement in arduino/Leonardo.... Of Course the SDA/SCL adderss is different, but I can write offset into address. Can Anybody help me~~~

Be the first to answer this question.