Quantcast
Viewing all articles
Browse latest Browse all 4910

MicroPython • Re: Lets talk about lightsleep on PICO

gmx, sorry for taking so long to respond.

2 milliamps is not much. But you are not turning off much hardware.

Remember, lightsleep in micropython 1.23.0 was effectively doing:

Code:

pwr.disable_while_sleeping_all_but(    pwr.EN0_CLK_RTC_RTC,    pwr.EN1_CLK_SYS_TIMER)
In 1.24.0 it does the equivalent of:

Code:

pwr.disable_while_sleeping_all_but(    pwr.EN1_CLK_SYS_TIMER,    pwr.EN0_CLK_SYS_PLL_USB,    pwr.EN1_CLK_USB_USBCTRL)
Either case almost everything is being turned off while sleeping.

Statistics: Posted by cpottle9 — Fri Dec 20, 2024 11:43 pm



Viewing all articles
Browse latest Browse all 4910

Trending Articles