MPU6500 INT Fix for F4

This commit is contained in:
kc10kevin 2016-08-06 18:19:02 -05:00
parent 35bd2deb2f
commit 7ebd5402bb
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ void mpu6500GyroInit(uint8_t lpf)
#else
mpuConfiguration.write(MPU_RA_INT_PIN_CFG, 0 << 7 | 0 << 6 | 0 << 5 | 1 << 4 | 0 << 3 | 0 << 2 | 0 << 1 | 0 << 0); // INT_ANYRD_2CLEAR, BYPASS_EN
#endif
delay(15);
#ifdef USE_MPU_DATA_READY_SIGNAL
mpuConfiguration.write(MPU_RA_INT_ENABLE, 0x01); // RAW_RDY_EN interrupt enable
#endif