hi, I should how to transplant the official DMP mpu6050 library to nrf51822 above?I don't know how to transplant it and could you tell me how to transplant it?
hi, I should how to transplant the official DMP mpu6050 library to nrf51822 above?I don't know how to transplant it and could you tell me how to transplant it?
Hi,
Have you tried using the drivers supplied with the SDK? There is a driver for mpu6050 located in SDK9\components\drivers_ext\mpu6050
which probably helps you achieve what you want.
Best regards,
Øyvind
Thanks a lot !
Hi, I have seenSDK9\components\drivers_ext\mpu6050, but I have not found in the SDK mpu6050 DMP library, I want to use DMP library to read the quaternions, can you help me?thank you.
So the driver will let you read and write to mpu6050s registers from the nRF51/52. Then you can consult the mpu6050 datasheet to figure out which values it will take over TWI, then you get the return on a different set of cables in I2C format. Unfortunately I have not used the mpu6050 so I don't have any code readily available, however I am sure that it is possible to find this online.
This might apply to the official library(I am not able to log in so I cannot check it out)