04-11-2019 03:04 PM
Hello Everyone!!
I am a newbie who is trying to play around the BMI160 for an application that requires 6DOF inertial measurement. I am trying to integrate bmi160 API into my project with no success, because "null_ptr_check" inside "bmi160_init" doesn't return "BMI160_OK" as I did not supply proper function pointers for usser_i2c_read and user_i2c_write.
How should I define these functions. Any pointer to right direction with example is greatly appreciated!!
Solved! Go to Solution.
04-12-2019 01:36 AM
Please link the i2c read and write function of your platform to these two related functions first.
04-12-2019 11:31 AM
You may also use these templates as reference.
04-13-2019 06:24 AM
Yeah!! That's what I'm trying to do but with no success 😞
04-13-2019 06:25 AM
Thank you so much for the reference!!
I must have some patience to look into the repository in detail.
Let me give this a try and get back.
Thanks again!!