hi i am interfacing mpu6050 with nrf51 dk. i find some coders in devzone. but they don't work. so i write simple code. but my problem is that if i write any thing in device address. i am getting 0x18 as who am i id. can you help me??MPU6050.rar
hi i am interfacing mpu6050 with nrf51 dk. i find some coders in devzone. but they don't work. so i write simple code. but my problem is that if i write any thing in device address. i am getting 0x18 as who am i id. can you help me??MPU6050.rar
Here is your code:
#define mpu6050_I2C_ADDR 0X11
But the I2C addresses of mpu6050 can be 0x68 or 0x69. Where did 0x11 come from?
You should look at mpu6050 datasheet. When AD0 is low, its address is 0x68, and when AD0 is high, its address is 0x69.
You should look at mpu6050 datasheet. When AD0 is low, its address is 0x68, and when AD0 is high, its address is 0x69.