ESP-IDF + 0/2 examples
SourceVu will show references to ledc_fade_start() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsExamplesReferencesCall TreeData Use

Return value

- ESP_OK Success - ESP_ERR_INVALID_STATE Channel not initialized or fade function not installed. - ESP_ERR_INVALID_ARG Parameter error.

Notes

Call ledc_fade_func_install() once before calling this function. Call this API right after ledc_set_fade_with_time or ledc_set_fade_with_step before to start fading. Starting fade operation with this API is not thread-safe, use with care. For ESP32, hardware does not support any duty change while a fade operation is running in progress on that channel. Other duty operations will have to wait until the fade operation has finished.