We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbff2c commit 055e442Copy full SHA for 055e442
examples/examples-custom-boards/lyrat-mini/mic/mic.ino
@@ -5,7 +5,7 @@
5
* The I2S pins can be selected via cfg.i2s_function: CODEC uses the ES8311 I2S pins
6
* and CODEC_ADC uses the ES7243 I2S pins; By default the CODEC value is used.
7
*
8
- * Unfortunatly neither setting will give a proper microphone input!
+ * Only CODEC_ADC will give a proper microphone input!
9
*/
10
11
#include "AudioTools.h"
@@ -25,7 +25,7 @@ void setup(void) {
25
26
auto cfg = i2s.defaultConfig(RX_MODE);
27
cfg.copyFrom(info);
28
- // cfg.i2s_function = CODEC; // or CODEC_ADC
+ cfg.i2s_function = PinFunction::CODEC_ADC; // or CODEC_ADC
29
i2s.begin(cfg);
30
31
// make sure that we have the correct number of channels set up
0 commit comments