Update code.py

This commit is contained in:
Mikey Sklar 2024-08-04 11:57:15 -07:00
parent 15dbd2fa80
commit d062c103bb

View file

@ -28,7 +28,7 @@ KEY_PINS = (
km = keypad.Keys( KEY_PINS, value_when_pressed=False, pull=True) 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, mixer = audiomixer.Mixer(voice_count=len(wav_files), sample_rate=22050, channel_count=1,
bits_per_sample=16, samples_signed=True) bits_per_sample=16, samples_signed=True)