You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following code from readthedocs causes a hard reset, and the CPX to run in safemode (not always).
import board
# Prep a buffer to record into
b = bytearray(200)
with audiobusio.PDMIn(board.MICROPHONE_CLOCK, board.MICROPHONE_DATA) as mic:
mic.record(b, len(b)) ```
Increasing the buffer size to 8000 ('b = bytearray(8000)') fixes the issue.
Running the following code from readthedocs causes a hard reset, and the CPX to run in safemode (not always).