Open sailingfree opened 1 year ago
In the function PWM_Module::Setup the timer_config.clk_cfg should be initialised to LEDC_AUTO_CLK;
If you dont do that then often you get an assert exception when setting the configutation.
timer_config.clk_cfg = LEDC_AUTO_CLK;
Found using Platformio and the Arduino environment on a heltec ESP32.
In the function PWM_Module::Setup the timer_config.clk_cfg should be initialised to LEDC_AUTO_CLK;
If you dont do that then often you get an assert exception when setting the configutation.
timer_config.clk_cfg = LEDC_AUTO_CLK;
Found using Platformio and the Arduino environment on a heltec ESP32.