MPU6050 Wake up Interrupt

Hi,

I am trying to use the MPU6050 to wake up the MKR1300 using a hardware interrupt.

Has anyone got this to work? I have tried to convert the examples elsewhere (How to generate hardware interrupt in mpu6050 to wakeup arduino from SLEEP_MODE_PWR_DOWN mode? - Arduino Stack Exchange) but I can seem to make it work with the MKR.

From my understanding of the code it looks like you write a set of data to various registers (movement thresholds, durations etc) and then wait for the interrupt to occur....but it never does.

My wiring is OK as the simple library movement examples all work fine, but the library is am using #include <MPU6050_tockn.h> makes no mention of interrupts. Is there another library?

Cheers