Skip to content

Commit 8c13a59

Browse files
committed
Adding STEMMA speaker guide files
1 parent 5408bf9 commit 8c13a59

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from adafruit_circuitplayground.express import cpx
2+
3+
while True:
4+
if cpx.button_a:
5+
cpx.play_file("rise.wav")
6+
if cpx.button_b:
7+
cpx.play_file("dip.wav")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from adafruit_circuitplayground.express import cpx
2+
3+
while True:
4+
if cpx.button_a:
5+
cpx.play_tone(260, 1)
6+
if cpx.button_b:
7+
cpx.play_tone(292, 1)

Adafruit_STEMMA_Speaker/dip.wav

25.9 KB
Binary file not shown.

Adafruit_STEMMA_Speaker/rise.wav

25.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)