From 3b2280f31cd54e588fef97c452d8a875f2eb22e0 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Fri, 8 Nov 2024 09:47:12 +0100 Subject: [PATCH] Compile errors pdm example --- .../streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/examples-stream/streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino b/examples/examples-stream/streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino index 33b3bc236..f56e241d9 100644 --- a/examples/examples-stream/streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino +++ b/examples/examples-stream/streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino @@ -23,10 +23,9 @@ void setup(void) { auto cfg = i2sStream.defaultConfig(RX_MODE); cfg.copyFrom(info); cfg.signal_type = PDM; - cfg.channel_format = I2S_CHANNEL_FMT_ALL_RIGHT; // try with left - cfg.use_apll = false; + //cfg.use_apll = false; //cfg.auto_clear = false; - cfg.pin_bck = I2S_PIN_NO_CHANGE; // not used + cfg.pin_bck = -1; // not used i2sStream.begin(cfg); // make sure that we have the correct channels set up