Arduino_AdvancedAnalog - AdvancedI2S

Creates an I2S object using the specified pins. The I2S object can be configured in input, output or full-duplex (in/out) modes to read/write PCM samples.

Syntax

AdvancedI2S i2s(WS, CK, SDI, SDO, MCK);

Parameters

  • WS I2S word select (LR clock).
  • CK I2S bit-clock (BRCLK clock).
  • SDI I2S data input (can be NC in half-duplex output mode).
  • SDO I2S data output (can be NC in half-duplex input mode).
  • MCK Master clock (can be NC if no MCLK is required).

Returns

void.