I want to use both IMU at the same time using the Sparkfun Library on a SAMD21 mini breakout board. Can anyone help?
The begin function is :
inv_error_t MPU9250_DMP::begin(void) {
inv_error_t result;
struct int_param_s int_param;
Wire.begin();
result = mpu_init(&int_param);
if (result)
return result;
mpu_set_bypass(1); // Place all slaves (including compass) on primary bus
setSensors(INV_XYZ_GYRO | INV_XYZ_ACCEL | INV_XYZ_COMPASS);
_gSense = getGyroSens();
_aSense = getAccelSens();
return result;
}