I2s full duplex mode #1960
-
| Hi, im doing a project using acoustics to detect defects in pipes and am trying to set up a code to get a microphone and speaker working simultaneously. I have no previous arduino coding experience so unfortunately i have had to use chat gpt. The speaker is working fine but the mic isnt working- the serial monitor shows the axes moving but sound remains at zero. Here is the code: #include "driver/i2s_std.h" // I2S channel handles void setup() { } // Speaker Task (Core 1) } // Microphone Task (Core 0) } void loop() { | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| I suggest that you dump what you have and just use my API: please read the Wiki of this project first! | 
Beta Was this translation helpful? Give feedback.
I suggest that you dump what you have and just use my API: please read the Wiki of this project first!
Here is the example sketch that just copies the i2s input to the i2s output.