[Solved]Unable to turn off when USB is Connected
-
I'm unable to turn off the m5stack when a USB cable is connected.
I want to reduce the charging time so it would be great to be able to keep the device off when connected to a charger. Is there no such option? -
If you are using software that allows you to do so, you can turn off from software. In your own code, simply put
m5.powerOFF();
. -
@rop cool thanks!
Do you the python version of that line?
Thanks! -
Hello
You can put M5 to deep sleep using
machine.deepsleep()
similar to this.