Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3923

MicroPython • Re: Lets talk about lightsleep on PICO

$
0
0
For instance, if lightsleep(5000) always returns in 5 seconds on 2040 it should do the same on 2350.
Not if one of the rp2350's additional features triggers an early exit. lightsleep(n) is always the maximum time in milliseconds that the sleep will last for.

It sounds like you're looking to implement something RP2-specific that goes beyond lightsleep. Since it's pure MicroPython, maybe best to release it as a library rather than get bogged down in MicroPython's PR process?

Statistics: Posted by scruss — Sun Dec 15, 2024 10:12 pm



Viewing all articles
Browse latest Browse all 3923

Trending Articles