Datasheet
CircuitPython Audio Out
The Circuit Playground Express has some nice built in audio output capabilities.
There are two ways to get audio output, one is via the small built in speaker. The other is by using alligator clips to
connect a headphone or powered speaker to the A0 pin.
The speaker is over here, its small but can make some
loud sounds! You can ENABLE or disable the speaker. If
you disable the speaker, audio will only come out the
A0 pin. If you enable the speaker, audio will come out
from both!
If you want to connect a speaker or headphones, use two alligator clips and connect GND to the sleeve of the
headphone, and A0 to the tip
The Audio library in CircuitPython has changed from 2.x to 3.x, this guide is for 3.x and above only so please
upgrade your CPX!
The A0 pin cannot drive a speaker directly, please only connect headphones, or powered speakers!
© Adafruit Industries https://learn.adafruit.com/adafruit-circuit-playground-express Page 115 of 211










