nRF52 Changes:
- Allocate internal ADC and DAC buffers dynamically: Users can set the
maxBufferSize
variable before callingbegin()
to configure this. ThemaxBufferSize
variable specifies the number of samples NOT bytes - The
useI2S
variable can now be set to 1 (I2S DAC), 2 (I2S ADC), or 3 (Both I2S DAC & ADC) - Add I2S microphone/input support
- Add double-buffering for ADC & PWM - Now smaller buffer sizes can be used with no loss in audio samples
- Allow 24-bit in/out for I2S
- Fix SDIN configuration
- Add example for 24-bit 44kHz I2S in/output
- Smoother transition after disabling DAC or ADC now (Changes to feedDAC and getADC functions)
- Allow config of PDM pins via variables pwrPin, dinPin, clkPin & gain