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
This code is using uselect.select() to block for events. However, I want to run the code under the Unix port of micropython (and esp32). That port doesn't provide the select method, and assumes everyone wants to use the superior poll object interface. The docs also have pretty strong language about select.select(): This function is provided by some MicroPython ports for compatibility and is not efficient. Usage of Poll is recommended instead.see here
It doesn't look hard to rework to use poll() but I'm surprised it wasn't done already and I'm thinking this might be a deliberate choice?
The text was updated successfully, but these errors were encountered:
This code is using
uselect.select()
to block for events. However, I want to run the code under the Unix port of micropython (and esp32). That port doesn't provide the select method, and assumes everyone wants to use the superior poll object interface. The docs also have pretty strong language aboutselect.select()
: This function is provided by some MicroPython ports for compatibility and is not efficient. Usage of Poll is recommended instead. see hereIt doesn't look hard to rework to use
poll()
but I'm surprised it wasn't done already and I'm thinking this might be a deliberate choice?The text was updated successfully, but these errors were encountered: