You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding MICROPY_HW_LED_STATUS on the Raspberry Pico I noticed that it didn't blink every 5 seconds. I did some tests on other boards and different types of satus LEDs, and it seems that it's a RP2040 bug.
It looks like the pico W is doing it correctly (and it already had the status LED defined).
Since staring at a LED for minutes to see when it blinks is not a lot of fun, I added a serial_write here, and it rarely blinks and seems to only react to the USB host doing something, as these happened simultaneously on 2 boards, whatever MacOS is doing on the USB bus.
[00:00:00.003] Press any key to enter the REPL. Use CTRL-D to reload.
[00:08:16.008] Pattern start
[00:01:04.865] Pattern start
[00:09:00.385] Pattern start
[00:00:41.265] Pattern start
Pico:
[00:00:00.004] Press any key to enter the REPL. Use CTRL-D to reload.
[00:09:04.928] Pattern start
[00:01:04.817] Pattern start
[00:09:00.593] Pattern start
[00:00:40.990] Pattern start
I did other tests on the Feather with more prints leading to more random timings between blinks.
The text was updated successfully, but these errors were encountered:
Don't idle from main if we scheduled an interrupt for 0 ticks in
the future.
Have RP2040 detect wakes that happen between setting the timer and
the idle call.
Fixes#7361
Uh oh!
There was an error while loading. Please reload this page.
While adding
MICROPY_HW_LED_STATUS
on the Raspberry Pico I noticed that it didn't blink every 5 seconds. I did some tests on other boards and different types of satus LEDs, and it seems that it's a RP2040 bug.It looks like the pico W is doing it correctly (and it already had the status LED defined).
Since staring at a LED for minutes to see when it blinks is not a lot of fun, I added a
serial_write
here, and it rarely blinks and seems to only react to the USB host doing something, as these happened simultaneously on 2 boards, whatever MacOS is doing on the USB bus.circuitpython/main.c
Line 676 in 9629a0c
Feather RP2040:
Pico:
I did other tests on the Feather with more prints leading to more random timings between blinks.
The text was updated successfully, but these errors were encountered: