Unverified Commit 097f2ab9 authored by Leandro Mattioli's avatar Leandro Mattioli Committed by GitHub

docs(ledc):Fixed outdated function signature (void ledcWrite instead of bool ledcWrite) (#9680)

parent 316c021b
...@@ -68,7 +68,7 @@ This function is used to set duty for the LEDC pin. ...@@ -68,7 +68,7 @@ This function is used to set duty for the LEDC pin.
.. code-block:: arduino .. code-block:: arduino
void ledcWrite(uint8_t pin, uint32_t duty); bool ledcWrite(uint8_t pin, uint32_t duty);
* ``pin`` select LEDC pin. * ``pin`` select LEDC pin.
* ``duty`` select duty to be set for selected LEDC pin. * ``duty`` select duty to be set for selected LEDC pin.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment