I broke wifi by allocating a _thread lock (PICO W) #12023
GM-Script-Writer-62850
started this conversation in
General
Replies: 1 comment 1 reply
-
You can use uasyncio.sleep() instead of time.sleep() in the WiFi connection loop to ensure that the WiFi connection check doesn't block the event loop. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
if i disable
thread_lock=_thread.allocate_lock()
i am able to print my ip address, with it there it hard locks when i try to print the ip addressBeta Was this translation helpful? Give feedback.
All reactions