I2S multitasking problem

Job ID: 32403174

Budget: €30 – €90 EUR

I have a project based on I2S microphone connected to ESP32 and saving data to SDcard in a wav file. Is an Arduino project tested on VScode.

Now I have reading and save the data in the same loop.

What I need from you is to devide the loop in 2 tasks:
-the reading task and
-the saving task.



You need to know well how to use buffers between tasks.

related link:
https://stackoverflow.com/questions/66043272/syncing-of-buffer-transmission-with-esp32-i2s-mems-mic-and-sd-card-freertos-p