Why do you need to call Wire.begin()? Is it because the IMU is an I2C device, and you (or the library) uses Wire methods to read from it?
Those methods all rely on interrupts being enabled, which they are not when your ISR is running.
Why do you need to call Wire.begin()? Is it because the IMU is an I2C device, and you (or the library) uses Wire methods to read from it?
Those methods all rely on interrupts being enabled, which they are not when your ISR is running.