Search found 6 matches

by MEL_21
Tue Oct 19, 2021 12:32 pm
Forum: General Discussion
Topic: 'i2s_pop_sample' was not declared in this scope
Replies: 3
Views: 9263

Re: 'i2s_pop_sample' was not declared in this scope

As I wrote the function call is old and had been replaced. use something like this: void setup() { // The I2S config as per the example const i2s_config_t i2s_config = { .mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX), // Receive, not transfer .sample_rate = 5000, // 5KHz .bits_per_sample = I2S_BI...
by MEL_21
Sat May 22, 2021 5:32 am
Forum: General Discussion
Topic: Using Arduino IDE to compile for OTA update
Replies: 2
Views: 2248

Re: Using Arduino IDE to compile for OTA update

Yes, that worked. For me it goes here:

/var/folders/vb/wytkrz7n2xl907826hwp_v2c0000gn/T/
by MEL_21
Fri May 21, 2021 1:36 pm
Forum: General Discussion
Topic: Using Arduino IDE to compile for OTA update
Replies: 2
Views: 2248

Using Arduino IDE to compile for OTA update

Hello all,

I am using IDE 1.8.14 on Mac OS and can't find where my compiled ESP32 binary is exported (using the 'Sketch->export compiled binary' menu but nothing gets saved).
I am using version 1.0.6 of the board pack - Any clues?

Thanks,
Markus
by MEL_21
Sun May 09, 2021 5:48 pm
Forum: General Discussion
Topic: 'i2s_pop_sample' was not declared in this scope
Replies: 3
Views: 9263

Re: 'i2s_pop_sample' was not declared in this scope

OK found the issue: it's marked 'deprecated' - and has been replaced with 'i2s_read()'.
by MEL_21
Sun May 09, 2021 9:00 am
Forum: General Discussion
Topic: 'i2s_pop_sample' was not declared in this scope
Replies: 3
Views: 9263

'i2s_pop_sample' was not declared in this scope

Hello All, I am using the Arduino IDE 1.8.13 with the ESP32 boards definition v1.0.6 and I am trying to compile the I2S sample code (from: https://diyi0t.com/i2s-sound-tutorial-for-esp32) and get the error: 'i2s_pop_sample' was not declared in this scope. What else do I need to install to make this ...
by MEL_21
Sun May 02, 2021 3:31 pm
Forum: General Discussion
Topic: Where is GPIO pin 25 on the ESP32 S2 Saola?
Replies: 1
Views: 2479

Where is GPIO pin 25 on the ESP32 S2 Saola?

Hello all, I want to use I2S to read samples from a microphone and looked at the sample code (in the ESP-IDF Programming Guide) to configure the reading: static const i2s_pin_config_t pin_config = { .bck_io_num = 26, .ws_io_num = 25, .data_out_num = 22, .data_in_num = I2S_PIN_NO_CHANGE }; the ESP32 ...