Hi,
I am trying to implement a system with MPU-6050 (EVB) integrated.
I using a PIC18f microprocessor as an I2C master.
I re-wrote the basic drivers functions (MLSLSerialWriteSingle, MLSLSerialRead, etc...) and able to pass most of "driverselftest.c" tests.
I would like to get the MPL working so that i would be able read sequentially 9-axis data from the sensor, and use it within my code on the microprocessor. (Basically, for a sensor based mouse)
What would be a high level API functions sequence to enable such a program?
Thanks,
Ohad
- Log in to post comments
phpbb Topic ID
13356
Re: Re: API sequence
The user guide (currently available on website) gives an overview of how to port Embedded MotionApps to your own target environment
Re: Re: API sequence
Hi,
Obviously i read the user-guide (cover to cover), and also much of the sample code published. But still i find it hard to extract a simple high level sequence that will allow such functionality.
I would really appreciate if you can reply with something like (even without error protections etc...)
High level sequence:
SetupPlatform()
MLSerialOpen()
MLDmpOpen()
SetupDmpOpen()
MLDmpStart()
Loop
...
Thanks,
Re: Re: API sequence
The only functions you would need to call to setup Embedded MotionApps are found in umpl-states.h. The function calls in that file will setup the library in the supported manner. We will not support questions having to do with functions called from umpl-states.c. That file's contents are "under the hood."