Search found 7 matches
- Tue Oct 31, 2023 11:53 am
- Forum: ESP-IDF
- Topic: Change I2C clock speed without reinitializing
- Replies: 2
- Views: 582
Re: Change I2C clock speed without reinitializing
Thanks for this - I'm not sure I understand what you mean when you say 'set up {two} of them instead of just one' - can you clarify what functions you're calling to do this?
- Sat Oct 28, 2023 12:09 pm
- Forum: ESP-IDF
- Topic: Change I2C clock speed without reinitializing
- Replies: 2
- Views: 582
Change I2C clock speed without reinitializing
I have two I2C devices, one supports 1Mbit, the other supports 400Kbit. I would like to use the fast device at the fast speed but if I initialize the I2C device with `i2c_param_config` at 1Mbit then, when I want to communicate with the slow device I need to change the clock speed to 400Kbit. At the ...
- Fri Oct 13, 2023 9:58 am
- Forum: ESP-IDF
- Topic: WiFi factory reset - how to?
- Replies: 1
- Views: 575
WiFi factory reset - how to?
Is the following code a reasonable way to factory reset the wifi credentials? void wifi_factory_reset() { wifi_config_t blank_config; memset(&blank_config, 0, sizeof(blank_config)); ESP_ERROR_CHECK(esp_wifi_disconnect()); ESP_ERROR_CHECK(esp_wifi_stop()); ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_...
- Tue Jul 18, 2023 9:04 am
- Forum: ESP-IDF
- Topic: Adding source folder to project
- Replies: 5
- Views: 1104
Re: Adding source folder to project
idf.py reconfigure doesn't list the `common` component and gives no warnings CMakeLists.txt doesn't declare a dependency on `common` Is it a supported scenario to have a component that exists outside the project folder? If so, can you explain the recommended way to make it happen? I'm using cmake ve...
- Sat Jul 15, 2023 11:20 am
- Forum: ESP-IDF
- Topic: Adding source folder to project
- Replies: 5
- Views: 1104
Adding source folder to project
I am trying to add a component ('common') to my project ('esp_project') which is in a folder outside the project folder. I have this folder structure: esp_project/ main/ common/ The file esp_project/CMakeFiles.txt contains this cmake_minimum_required(VERSION 3.5) set(EXTRA_COMPONENT_DIRS ../common) ...
- Wed Dec 11, 2019 11:25 pm
- Forum: General Discussion
- Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
- Replies: 24
- Views: 34084
Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used
Correction, the priority is not the issue, for me the solution is pinning the RMT task to core 1
- Tue Dec 10, 2019 10:43 pm
- Forum: General Discussion
- Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
- Replies: 24
- Views: 34084
Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used
It seems that calling the RMT init functions from a task with high priority fixes this problem.