Search found 33 matches

by HyperUniverse
Mon Dec 20, 2021 10:09 am
Forum: ESP-IDF
Topic: warning: 'I2S_COMM_FORMAT_I2S_LSB' is deprecated
Replies: 0
Views: 3049

warning: 'I2S_COMM_FORMAT_I2S_LSB' is deprecated

Why do I get this warning:

Code: Select all

warning: 'I2S_COMM_FORMAT_I2S_LSB' is deprecated
does it affect my code in any way?

How do I get rid of it?

Thanks.
by HyperUniverse
Tue Dec 14, 2021 8:53 pm
Forum: ESP-IDF
Topic: copy data from one partition to another one
Replies: 1
Views: 1761

copy data from one partition to another one

Hi,

How do I copy data from one fat partition to another fat partition in esp idf?

Thank you,
Regards,
by HyperUniverse
Thu Dec 09, 2021 2:03 pm
Forum: ESP-IDF
Topic: how do I save variables into the nvs?
Replies: 4
Views: 6970

Re: how do I save variables into the nvs?

Thanks markkuk
works perfect now.
by HyperUniverse
Thu Dec 09, 2021 11:38 am
Forum: ESP-IDF
Topic: how do I save variables into the nvs?
Replies: 4
Views: 6970

Re: how do I save variables into the nvs?

Thanks ESP_Sprite Very good explanation, and easy to understand. When running the supplied example in nvs_value_example_main everything works perfectly. But obviously, nobody is using reading and writing to-from NVS in one single go, as in the example supplied. Everybody writes now, and reads it bac...
by HyperUniverse
Wed Dec 08, 2021 11:37 pm
Forum: ESP-IDF
Topic: how do I save variables into the nvs?
Replies: 4
Views: 6970

how do I save variables into the nvs?

Hi, How do I save a variable in the nvs? I'm looking at the sample nvs_value_example_main , and I can't understand a thing!!! Say I've got 5 different variables that I want to save into the nvs, and retrieve them whenever I want. variable_1 variable_2 variable_3 variable_4 variable_5 Can someone giv...
by HyperUniverse
Wed Dec 08, 2021 2:26 pm
Forum: ESP-IDF
Topic: how do I Read flash and replay the sound via DAC
Replies: 0
Views: 2320

how do I Read flash and replay the sound via DAC

Hi, in the example: i2s_adc_dac How do I split an example task into two different tasks that I can access any time I want? /** * @brief I2S ADC/DAC example * 1. Erase flash * 2. Record audio from ADC and save in flash * 3. Read flash and replay the sound via DAC * 4. Play an example audio file(file ...
by HyperUniverse
Fri Dec 03, 2021 1:21 pm
Forum: ESP-IDF
Topic: how do I change one single bit?
Replies: 2
Views: 4122

how do I change one single bit?

How do I change one bit inside a uint8_t?

For example I used to do this:

Code: Select all

unsigned char something ;

something.F5 = 0 ;
But I can't get it to work in esp-idf.

Can anybody show me how to do it, please?

Thanks.
by HyperUniverse
Fri Dec 03, 2021 11:05 am
Forum: ESP-IDF
Topic: i2s_adc_dac example, increase length of audio recording
Replies: 0
Views: 2498

i2s_adc_dac example, increase length of audio recording

Hi, I can't figure out how to increase the length of my sound recording in the i2s_adc_dac example. I have successfully increased my storage size to 6M, as I've got a 16M chip; # Name Type SubType Offset Size Flags # Note: if you have increased the bootloader size make sure to update the offsets to ...
by HyperUniverse
Tue Nov 16, 2021 11:35 pm
Forum: ESP-IDF
Topic: How do I suspend a task?
Replies: 8
Views: 9602

Re: How do I suspend a task?

Punchline: You have to store a handle and use it. thanks for a bit of info what is a handle? how do I create it? how do I use it? what does it mean "to store it"? why the example provided by the esp-idf in xTaskCreate(tx_task, "uart_tx_task", 1024*2, NULL, configMAX_PRIORITIES-1, NULL); hasn't told...
by HyperUniverse
Tue Nov 16, 2021 11:29 pm
Forum: ESP-IDF
Topic: How do I suspend a task?
Replies: 8
Views: 9602

Re: How do I suspend a task?

I wonder why billions of children, teenagers and adults all around the world, still go to the schools, colleges and universities if the information they seek to learn is readily available in books and all over the internet??? :roll: :lol: why don't the teachers just send home all these children and ...