arduino / ArduinoCore-samd

Arduino Core for SAMD21 CPU
GNU Lesser General Public License v2.1
472 stars 720 forks source link

I2S library: Support for 24 Bit samples #481

Open Hoshpak opened 4 years ago

Hoshpak commented 4 years ago

I tried to hook up an PCM1808 ADC to an Arduino MKR Zero using this library. After it failed to initialize I2S many times and I wondered why, I looked at the source code and discovered that 24 Bit sample width is not supported by the library. Please implement support for this.

joelG81 commented 3 years ago

you can use 32bit and change the size when you receive the data.