Topic

Play Sounds AND Blink Lights: Cooperative Multitasking with CircuitPython
By: Adam Forsyth
Date: June 11, 2020, 6 p.m.

The Circuit Playground Express (CPX) is a small circuit board you can program with Python. But what if you want to make the lights blink and play sounds at the same time, while keeping the code for those two things separate? I'll briefly show you how to program the CPX with Python, then talk about how to run multiple pieces of code at the same time using generators. This talk was inspired by the closing keynote at PyCon 2019.