File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44CircuitPython I2S Tone playback example.
55Plays a tone for one second on, one
66second off, in a loop.
7- Remove this line and all of the following docstring content before submitting to the Learn repo.
8- Update the three I2S pins to match the wiring chosen for the microcontroller. If you are unsure of
9- a proper I2S pin combination, run the pin combination script found here:
10- https://adafru.it/i2s-pin-combo-finder
11- Update the following pin names to a viable pin combination:
12- * BIT_CLOCK_PIN
13- * WORD_SELECT_PIN
14- * DATA_PIN
157"""
168import time
179import array
Original file line number Diff line number Diff line change 33"""
44CircuitPython I2S WAV file playback.
55Plays a WAV file once.
6-
7- Remove this line and all of the following docstring content before submitting to the Learn repo.
8-
9- Update the three I2S pins to match the wiring chosen for the microcontroller. If you are unsure of
10- a proper I2S pin combination, run the pin combination script found here:
11- https://adafru.it/i2s-pin-combo-finder
12-
13- Update the following pin names to a viable pin combination:
14- * BIT_CLOCK_PIN
15- * WORD_SELECT_PIN
16- * DATA_PIN
176"""
187import audiocore
198import board
You can’t perform that action at this time.
0 commit comments