Skip to content

Commit 3b2280f

Browse files
committed
Compile errors pdm example
1 parent 4d860f7 commit 3b2280f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/examples-stream/streams-i2s_pdm-serial/streams-i2s_pdm-serial.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ void setup(void) {
2323
auto cfg = i2sStream.defaultConfig(RX_MODE);
2424
cfg.copyFrom(info);
2525
cfg.signal_type = PDM;
26-
cfg.channel_format = I2S_CHANNEL_FMT_ALL_RIGHT; // try with left
27-
cfg.use_apll = false;
26+
//cfg.use_apll = false;
2827
//cfg.auto_clear = false;
29-
cfg.pin_bck = I2S_PIN_NO_CHANGE; // not used
28+
cfg.pin_bck = -1; // not used
3029
i2sStream.begin(cfg);
3130

3231
// make sure that we have the correct channels set up

0 commit comments

Comments
 (0)