10 years, 2 months ago.

Include files

main.cpp requires two include files. Where can I find them? I also noticed that in registers.h (used in one of your other projects) the declarations start with 9150 and then change to 6050. What is the reason for this. What target platform did you use? I have the mbed LPC1768 and the associated application board.

Question relating to:

An example program that decodes the data returned from the MPU9150 DMP DMP, example, MPU9150

2 Answers

10 years, 2 months ago.

The MPU9150 is just the MPU6050 with a magnetometer on its internal i2c bus so the header file is mostly a direct copy and all the dependencies are linked to the example and should be imported with it. The library was written and tested on the LPC1768,

The api is currently lacking as you have to decode the returned sample data yourself, that's why QuaternionMath lib was included in the example.

10 years, 2 months ago.

One is in the MPU9150_DMP library, the other is in the QuaternionMath library.

They are both dependencies of that project with names that match the header files being included.