I want to use I2S to read samples from a microphone and looked at the sample code (in the ESP-IDF Programming Guide) to configure the reading:
Code: Select all
static const i2s_pin_config_t pin_config = { .bck_io_num = 26,
.ws_io_num = 25,
.data_out_num = 22,
.data_in_num = I2S_PIN_NO_CHANGE
};
Thanks for reading,
Markus