April 2020
Intermediate to advanced
294 pages
7h 53m
English
As you may recall from earlier chapters, uasyncio is a cooperative scheduling module that is very useful for creating concurrent tasks. By default, the MicroPython port for the ESP32 does not have the uasyncio library built into the MicroPython kernel. It's up to us to install it ourselves.
Now, there are several ways that we can go about installing it, which are documented at https://github.com/peterhinch/micropython-async/blob/master/TUTORIAL.md. I highly recommend that you review the tutorial there. In case you are in a hurry, I'll provide the basic steps on how to install uasyncio on the ESP32 here:
Read now
Unlock full access