arduino / ArduinoCore-mbed

331 stars 197 forks source link

How to define my own pins for PDM microphone (board, nano 33 BLE) #866

Closed javierxio closed 5 months ago

javierxio commented 5 months ago

Hello. I have the nano 33 BLE board with the microphone depopulated/not installed. I would like to connect an external PDM microphone. My microphone is a breakout from adafruit.

facchinm commented 5 months ago

Hi @javierxio , you need to define a new PDMClass object following this constructor https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/PDM/src/nrf52/PDM.cpp#L230