I read from C++ code there's an AXP command to go into light sleep. How does one do a similar call in Python?
Ref: https://github.com/m5stack/M5StickC/blob/master/examples/Advanced/AXP192/sleep/sleep.ino
I read from C++ code there's an AXP command to go into light sleep. How does one do a similar call in Python?
Ref: https://github.com/m5stack/M5StickC/blob/master/examples/Advanced/AXP192/sleep/sleep.ino
Is there any way to program StickC to wake up when it moved eg. picked up? Maybe some behavior from the IMU waking up deep sleep? I'm open for anything.
@nirvana07 I would suggest you:
No free lunch here. As newbie you should be prepared to invest time into this.
@davesee I heard about setting a flag on movement detected, written at the C level. Hoping to avoid that level of coding. Will forward your link to my (volunteer) team who do C coding if they can confirm your design.