Wake on Motion/Shake to Wake

  • Hi all,

    I have been struggling to get this working. Does anyone have any working code that relies on an interrupt (referenced as PIN 34 in mpu6886.h) to wake a M5Stack device from a light/deep sleep due to movement? I can't intercept any interrupt from the IMU (I am using M5Gray / M5 Go which have a BMM150 and MSP6886 in there). Is there anyone with a code snippet out there that has got this working please?

    Edit: Specifically, I am working with Arduino ;)