[Solved]sleep mode on MircoPython?
akita11 last edited by m5-docs
We can use DeepSleep mode on MicroPython as described here:
Is there any way (modules) to handle light sleep mode in MicroPython?
Other version of ESP32's MicroPython provides machine.lightsleep().
import machine machine.lightsleep()
will enter light sleep mode
akita11 last edited by
@m5-docs No, I'm using the newest MicroPython on M5stack, but "machine" has no member of "lightsleep()".
Which version are you using? Here's mine.
akita11 last edited by akita11
@m5-docs Thanks, mine's version is: "MicroPython ESP32_LoBo_v3.2.24 - 2018-09-06 on M5Stack with ESP32", that is distributed for UI flow 1.2.3.
I burned UI flow 1.3.0-beta, and found machine.lightsleep() is available.