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
When I run it on the webpage I got the timers been canceled and created as expected, but when I run on the vs code extension, it won't create a new timer. To solve the problem I need to add a sleep between cancel and add a new timer.
Target: Rasp Pico 1 sdk
Example project: https://wokwi.com/projects/430756341381772289
Code:
When I run it on the webpage I got the timers been canceled and created as expected, but when I run on the vs code extension, it won't create a new timer. To solve the problem I need to add a sleep between cancel and add a new timer.
cancel_repeating_timer(&timer_b); + sleep_ms(10); add_repeating_timer_ms(300, timer_b_callback, NULL, &timer_b); sleep_ms(1000);
Example code:
online it creates the new timer:
on vscode it get stuck
The text was updated successfully, but these errors were encountered: