Skip to content

Commit

Permalink
Merge pull request #58 from sparkfun/release_candidate
Browse files Browse the repository at this point in the history
Update Example10_DMP_FastMultipleSensors.ino
  • Loading branch information
PaulZC authored Apr 26, 2021
2 parents 8341270 + 3ce1144 commit ffca57b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ ICM_20948_Status_e ICM_20948::initializeDMP(void)
ICM_20948_smplrt_t mySmplrt;
mySmplrt.g = 4; // ODR is computed as follows: 1.1 kHz/(1+GYRO_SMPLRT_DIV[7:0]). 4 = 220Hz
mySmplrt.a = 4; // ODR is computed as follows: 1.125 kHz/(1+ACCEL_SMPLRT_DIV[11:0]). 4 = 225Hz
myICM.setSampleRate((ICM_20948_Internal_Acc | ICM_20948_Internal_Gyr), mySmplrt);
result = setSampleRate((ICM_20948_Internal_Acc | ICM_20948_Internal_Gyr), mySmplrt); if (result > worstResult) worstResult = result;

// Setup DMP start address through PRGM_STRT_ADDRH/PRGM_STRT_ADDRL
result = setDMPstartAddress(); if (result > worstResult) worstResult = result; // Defaults to DMP_START_ADDRESS
Expand Down

0 comments on commit ffca57b

Please sign in to comment.