Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.2k
Closed
Milestone
Description
Firmware version: MicroPython v1.21.0 on 2023-10-06; Raspberry Pi Pico W with RP2040
On both of my Pico W devices, if I execute the below code on a freshly booted device, it causes execution to hang.
importtimetime.sleep_us(5)time.sleep_us(10)time.sleep_us(5)time.sleep_us(10)time.sleep_ms(1000)print('its been a second')#doesnt print
The expected output is
its been a second
But the output is
To reproduce this:
- create a file called bug.py, insert the above code into it
- upload the file to the pico w
- do a hard reset
- in the REPL terminal execute
import bug
- execution will hang and will not print the text