Search found 12 matches
- Thu Oct 08, 2020 8:30 pm
- Forum: General Discussion
- Topic: SK6812 RGBW LEDs flickering - RMT Driver
- Replies: 10
- Views: 7381
Re: SK6812 RGBW LEDs flickering - RMT Driver
It's a code eligible for experiment. I'm trying to understand how to change bits to send
- Tue Apr 23, 2019 5:18 pm
- Forum: ESP-IDF
- Topic: CPP: Invalid convertions and sorry-unimplemented's error while translating it from C
- Replies: 3
- Views: 1834
- Tue Apr 23, 2019 5:16 pm
- Forum: ESP-IDF
- Topic: CPP: Invalid convertions and sorry-unimplemented's error while translating it from C
- Replies: 3
- Views: 1834
Re: CPP: Invalid convertions and sorry-unimplemented's error while translating it from C
I know about these problems, but I mean problems with structures
- Mon Apr 22, 2019 5:32 pm
- Forum: ESP-IDF
- Topic: CPP: Invalid convertions and sorry-unimplemented's error while translating it from C
- Replies: 3
- Views: 1834
CPP: Invalid convertions and sorry-unimplemented's error while translating it from C
I edit and try to convert the code in c++ but it gives the following error: dmitrij999@dmitrij999-Inspiron-3520:~/esp/a2dp_sink_cpp$ make fatal: Not a git repository: /home/dmitrij999/esp/a2dp_sink/esp-idf/.git/modules/components/asio/asio Toolchain path: /home/dmitrij999/esp/xtensa-esp32-elf/bin/xt...
- Sun Mar 24, 2019 6:22 pm
- Forum: ESP-IDF
- Topic: LoadStoreError while concatenating strings
- Replies: 4
- Views: 2460
- Sun Mar 24, 2019 2:10 pm
- Forum: ESP-IDF
- Topic: LoadStoreError while concatenating strings
- Replies: 4
- Views: 2460
Re: LoadStoreError while concatenating strings
https://stackoverflow.com/questions/18838933/why-do-i-first-have-to-strcpy-before-strcat I changed my code, and now I get LoadProhibited error Code: esp_err_t http_list_files(httpd_req_t *req) { spiffs_file *f_list; char json_string[2048]; int char_ptr = 0; //string json; char buf; int ret; printf(...
- Sun Mar 24, 2019 7:00 am
- Forum: ESP-IDF
- Topic: LoadStoreError while concatenating strings
- Replies: 4
- Views: 2460
LoadStoreError while concatenating strings
Hardware: ESP32-WROOM ESP-IDF: Latest I want to return file list in SPIFFS in browser on address http://<esp32.ip>/fs_list but I get the following error: File list has been requested... Beginning of serialization... 5 files has been found SPIFFS: free 785 KB of 934 KB ------------------------------...
- Sat Mar 09, 2019 3:42 pm
- Forum: ESP-IDF
- Topic: RDA5807M gets i2c commands but ESP32 cannot read (i2c null address error)
- Replies: 7
- Views: 3355
Re: RDA5807M gets i2c commands but ESP32 cannot read (i2c null address error)
I did some changes in getRegister function. Its code: uint16_t getRegister(uint8_t reg) { uint16_t result; uint8_t h = 0; uint8_t l = 0; esp_err_t ret; ESP_LOGI(FM_TAG, "I2C number: %d", i2c_port_num); //vTaskDelay(500 / portTICK_RATE_MS); // Действуем по алгоритму, описанному в документации ESP-IDF...
- Sat Mar 09, 2019 1:58 pm
- Forum: ESP-IDF
- Topic: RDA5807M gets i2c commands but ESP32 cannot read (i2c null address error)
- Replies: 7
- Views: 3355
Re: RDA5807M gets i2c commands but ESP32 cannot read (i2c null address error)
It is not related to i2c address. It means memory address of a bad pointer. I compare my code with example code. Code from example: static esp_err_t i2c_example_master_read_slave(i2c_port_t i2c_num, uint8_t* data_rd, size_t size) { if (size == 0) { return ESP_OK; } i2c_cmd_handle_t cmd = i2c_cmd_li...
- Wed Mar 06, 2019 11:15 am
- Forum: ESP-IDF
- Topic: RDA5807M gets i2c commands but ESP32 cannot read (i2c null address error)
- Replies: 7
- Views: 3355