Updated Lessons At: https://bit.ly/circuitpython-school
In this lesson we'll show a solution to the prior lesson's challenge: "Volume Controlled Audio Play". We'll start with all lights off on our board, and each press of Button A will add a light to the board. This will also adjust the volume. When all lights are on, volume is full, at 5 lights, volume is 50%, and when no lights are on, the volume is muted. Pressing any touchpad will play an mp3 file, and because we use audiomixer, we won't hear any of the pops or clicks that happen during conventional sound play with boards that use audiopwmio.
Part of Prof. John Gallaugher's Physical Computing course. Full playlist at: https://bit.ly/circuitpython-school