ledc_channel_config() function
LEDC channel configuration Configure LEDC channel with the given channel/output gpio_num/interrupt/source timer/frequency(Hz)/LEDC duty
Arguments
ledc_conf
Pointer of LEDC channel configure struct
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error
Examples
ledc_channel_config() is referenced by 11 libraries and example projects: