m5stack / M5-ProductExampleCodes

All example codes of products supplied by M5Stack have been collected in this reposity.
MIT License
339 stars 484 forks source link

PDM I2S config insufficient #48

Open DanielMarcato opened 2 years ago

DanielMarcato commented 2 years ago

To get the PDM sample working, the line

pin_config.mck_io_num = GPIO_NUM_0;

needs to be added after

pin_config.data_in_num = CONFIG_I2S_DATA_IN_PIN;