I'd like to add a microphone to do some audio visualizations. I thought maybe I could use the Adafruit PDM microphone https://www.adafruit.com/product/4346 for this. I've wired CLK to board.tx and DAT to board.A1. And run the sample provided in the PDF setting up the microphone like:
Code: Select all
mic = audiobusio.PDMIn(board.TX, board.A1, sample_rate=16000, bit_depth=16)
Code: Select all
ValueError: Invalid clock pin
Clock pin: board.MTX_OE
Data pin: board.ESP_BUSY
I'm not sure where these pins are on the board, but I assume they are being used to drive the leds? Is it possible to use this microphone with the leds at the same time on the MatrixPortal M4? If not is there another way to add a microphone and use the leds at the same time?