adafruit / Adafruit_ZeroPDM

Arduino Library for using ATSAMD processors with PDM microphones (w/I2S)
MIT License
15 stars 5 forks source link

SPI PDM for SAMD21 boards #7

Open lxschwalb opened 3 years ago

lxschwalb commented 3 years ago

After some digging I found that line 8 in "Adafruit_ZeroPDMSPI.h" is:

if defined(SAMD51)

Does this mean that the SPI PDM code is actually written for the SAMD51 boards and not the SAMD21 boards? If so, it would be great to mention that in the readme.md

ladyada commented 3 years ago

correct! we only use the code in one place (Edge Badge) which is SAMD51 please submit any update for the readme you'd like as a PR and we'll merge it :)