Skip to content

Problem getting i2s mic to output to Analog (ESP32 pin 25/26) #132

Answered by pschatzmann
ShadGates asked this question in Q&A
Discussion options

You must be logged in to vote

The AnalogAudioStream and I2SStream use the I2S functionality of the ESP32. The ESP32 has 2 I2S ports and if I remember right the analog functionality needs to be on port 0, which is used by default if you do not specify anything.

So if you use two ports you need to specify this in the config:

 config.port = 1; 

should make the difference...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ShadGates
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants