Tone and file playback fix!
Added deinit()
to stop_tone
and play_file
to eliminate issues when using both in the same program.
To use in CircuitPython, simply include from adafruit_circuitplayground.express import cpx
at the top of your file. The library is built into CircuitPython for Circuit Playground Express.
Read the docs for info on how to use it.