diff --git a/Sensor_Plotting_With_Mu_CircuitPython/audio.py b/Sensor_Plotting_With_Mu_CircuitPython/audio.py index b9c7f483..b7f957d9 100644 --- a/Sensor_Plotting_With_Mu_CircuitPython/audio.py +++ b/Sensor_Plotting_With_Mu_CircuitPython/audio.py @@ -23,7 +23,7 @@ def normalized_rms(values): mic = audiobusio.PDMIn( board.MICROPHONE_CLOCK, board.MICROPHONE_DATA, - frequency=16000, + sample_rate=16000, bit_depth=16 ) samples = array.array('H', [0] * 160)