This adds a feature where the MPU6886 is able to wake the ESP32 core from deep-sleep when it detects motion. This should close issue #119 .
There is interest, per #119 , in having a more unified interrupt scheme between AXP, RTC, and IMU - the three devices with wired interrupt connections to GPIO35. This PR does not address that interest, but does enable wake-on-motion with the supplied example. The current MPU6886 interrupt configuration is "active-low" and "push-pull".
This adds a feature where the MPU6886 is able to wake the ESP32 core from deep-sleep when it detects motion. This should close issue #119 .
There is interest, per #119 , in having a more unified interrupt scheme between AXP, RTC, and IMU - the three devices with wired interrupt connections to GPIO35. This PR does not address that interest, but does enable wake-on-motion with the supplied example. The current MPU6886 interrupt configuration is "active-low" and "push-pull".