on my board I drive a led lamp with a ESP32C3.
I use also PWM engine.
The logic is
GPIO7=0 --> LED OFF
GPIO7=1 --> LED ON
On power on and on rise of EN signal (manual reset) the led flashes for about 0.1s then the led switches off and application starts and it works fine.
I added the instruction to disable the HOLD Feature but nothing changed.
Here you are the starting code
Code: Select all
void app_main()
{
gpio_set_direction(LEDC_OUTPUT_IO, GPIO_MODE_OUTPUT);
gpio_set_level(LEDC_OUTPUT_IO,false);
gpio_hold_dis(LEDC_OUTPUT_IO);
....
Thanks
Leo
Addendum: I've the same problem with a blank device