Adafruit_CircuitPython_Circ.../examples/circuitplayground_play_file.py
2019-06-07 14:45:09 -04:00

10 lines
401 B
Python

"""THIS EXAMPLE REQUIRES A WAV FILE FROM THE examples FOLDER IN THE
Adafruit_CircuitPython_CircuitPlayground REPO found at:
https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/tree/master/examples
Copy the "dip.wav" file to your CIRCUITPY drive.
Once the file is copied, this example plays a wav file!"""
from adafruit_circuitplayground.express import cpx
cpx.play_file("dip.wav")