Though this image shows a QT Py, the asyncio behavior is exactly the same for the Feather ESP32-S2!
The Adafruit ESP32-S2 Feather guide already had more than enough to get you started with your new Feather, including a huge list of CircuitPython Essentials pages with examples of how to use many of the features of CircuitPython with your board. Recently, support for cooperative multitasking using asyncio was added to CircuitPython. Now you can get started with that as well!
The new Multitasking with asyncio page in the ESP32-S2 Feather guide provides an introduction to cooperative multitasking in CircuitPython using asyncio. It includes a demonstration of how to control two animations on two separate NeoPixel rings using a single button. There is also a detailed walkthrough of the coding example. Cooperative multitasking with asyncio can seem intimidating at first, but this page aims to simplify it so you can get started using it in your own projects.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey