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
I would take a look at this thread. I also recommend taking a look at this GitHub repository. It is for the mu9150, but it should work for the mpu6050 also. Just note that this is not an official example and it has not been thouroughly tested.
-Bjørn
UPDATE:
I have written an example for the MPU-6050, based on SDK v11 ( should also be compatible with SDK v10). Download the zip file and extract to SKD_v11-folder/examples/peripheral.
ATTACHMENTS:
MPU-6050 Example: mpu_6050_twi.zip
thank you sir , i can make a try with the above solution
thank you sir , i can make a try with the above solution