ledc_hal_set_fade_param() function
Function to set fade parameters all-in-one
Arguments
hal
Context of the HAL layer
channel_num
LEDC channel index, select from ledc_channel_t
dir
LEDC duty change direction, increase or decrease
step
The number of increased or decreased times
Return value
None