/ examples / circuitplayground_play_tone.py
circuitplayground_play_tone.py
1  """This example plays two tones for 1 second each. Note that the tones are not in a loop - this is
2  to prevent them from playing indefinitely!"""
3  from adafruit_circuitplayground.express import cpx
4  
5  cpx.play_tone(262, 1)
6  cpx.play_tone(294, 1)