Merge pull request #2860 from adafruit/soundboard-i2s-fix

Soundboard Speaker I2S fix
This commit is contained in:
Mikey Sklar 2024-08-04 12:08:56 -07:00 committed by GitHub
commit 1831ab7ce9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ KEY_PINS = (
km = keypad.Keys( KEY_PINS, value_when_pressed=False, pull=True)
audio = audiobusio.I2SOut(board.RX, board.TX, board.D9)
audio = audiobusio.I2SOut(board.TX, board.RX, board.D9)
mixer = audiomixer.Mixer(voice_count=len(wav_files), sample_rate=22050, channel_count=1,
bits_per_sample=16, samples_signed=True)