forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
asyncasyncio relatedasyncio relatedenhancementespressifapplies to multiple Espressif chipsapplies to multiple Espressif chipsnetwork
Milestone
Description
With the recent introduction of asyncio
, it has allowed great simplification of simultaneous code loops for things like animations or playing audio.
However, the interface to wifi.radio.connect
is still fully blocking. I might be missing other options, but as far as I can tell, this makes doing things like animations or sounds impossible while wifi connections are in progress. At least for singular integrated chips (not using coprocessors).
Ideally I'd be able to await wifi.radio.connect
so that I can release the thread for NeoPixel animations or other items.
EisFrei, criptych and czei
Metadata
Metadata
Assignees
Labels
asyncasyncio relatedasyncio relatedenhancementespressifapplies to multiple Espressif chipsapplies to multiple Espressif chipsnetwork