Example for “ i2s_channel_register_event_callback “
Posted: Mon Jul 03, 2023 5:20 am
I’m making an asynchronous I2S system where the esp32 and read from a microphone and write to a speaker at the same time. According to espressIf documentation, i2s_read() and i2s_write() are blocking functions, so for asynchronous I2S, we have to register some callbacks for it but I’m not sure how. Any already made examples or guidance would be much appreciated. Thank you.