diff --git a/docs/en/api/ledc.rst b/docs/en/api/ledc.rst index e2a18779571..908165717f1 100644 --- a/docs/en/api/ledc.rst +++ b/docs/en/api/ledc.rst @@ -68,7 +68,7 @@ This function is used to set duty for the LEDC pin. .. code-block:: arduino - void ledcWrite(uint8_t pin, uint32_t duty); + bool ledcWrite(uint8_t pin, uint32_t duty); * ``pin`` select LEDC pin. * ``duty`` select duty to be set for selected LEDC pin.