Which hardware block ?But, if you change sleep_ms to lightsleep the LED does not blink.
That is because lightsleep turned off the hardware block that timers depend on.
This is true in 1.23.0, 1.24.0, and the latest version I built myself including my fix for issue #16181.
The same problem would happen for an interrupt coming from a machine.Pin.
Statistics: Posted by gmx — Mon Dec 16, 2024 6:47 pm