- It may help to add a line to set LEDC_AUTO_CLK in XClk.cpp
- bool ClockEnable(int pin, int Hz)
- {
- ...
- timer_conf.timer_num = LEDC_TIMER_0;
- timer_conf.clk_cfg = LEDC_AUTO_CLK;
- esp_err_t err = ledc_timer_config(&timer_conf);
- ...
- }
Search found 1 match
- Thu Sep 14, 2023 7:37 am
- Forum: Hardware
- Topic: ESP32S NodeMCU: assert failed: ledc_clk_cfg_to_global_clk ledc.c:443
- Replies: 2
- Views: 2788