Hello,
I'm working with the MPU-9150, using the code mllite_test.c provided in the MotionFit_With_eMPL511_Release under the simple_apps folder.
I'd like to send the timestamp along with the sensor data. For example, I could possibly send the timestamp to the function eMPL_send_data as shown here:
if (hal.report & PRINT_ACCEL) {
if (inv_get_sensor_type_accel(data, &accuracy,
(inv_time_t*) ×tamp))
eMPL_send_data(PACKET_DATA_ACCEL, data, timestamp);
}
Or, I could possibly send the time stamp separately, as shown here:
if (hal.report & PRINT_TIME) {
eMPL_send_data(PACKET_DATA_TIME, timestamp);
}
Is there functionality for this already? If not, is there a suggested method for sending over the time stamp?
Thanks in advance for any help or advice.
Best,
Adam