I’ve finished an example sketch for waking an Arduino from sleep/low power mode with the
Sparkfun MMA8452Q breakout board by combining the n0m1 MMA8453 accelerometer
and sleep libraries.
I have it loaded onto a Pro Mini and it’s been working (waking/sleeping) for me for a couple of weeks now.
I thought others might find it useful for their projects.
The code is here…
https://codebender.cc/sketch:258592
I’m sure there is a better way to comment the code to demonstrate/explain what’s going on…let me know if you
have any suggestions.
…