ledc_get_freq() function
LEDC get channel frequency (Hz)
Arguments
speed_mode
Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode.
timer_num
LEDC timer index (0-3), select from ledc_timer_t
Return value
- 0 error - Others Current LEDC frequency