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.For instance, if lightsleep(5000) always returns in 5 seconds on 2040 it should do the same on 2350.
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