Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable wake-on-motion (WOM) for MPU6886 #122

Merged
merged 5 commits into from
Aug 3, 2020

Conversation

standarddeviant
Copy link
Contributor

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".

@EeeeBin EeeeBin merged commit ce1f158 into m5stack:master Aug 3, 2020
@EeeeBin
Copy link
Contributor

EeeeBin commented Aug 3, 2020

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants