fixed the function header (#7674)

* fixed the function header

* fixed function name and paramaters

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
This commit is contained in:
bytiful 2023-02-06 23:09:50 +10:00 committed by GitHub
parent e18f08ede5
commit d054889bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ This function is used to setup the SigmaDelta channel frequency and resolution.
.. code-block:: arduino .. code-block:: arduino
double ledcSetup(uint8_t channel, double freq, uint8_t resolution_bits); uint32_t sigmaDeltaSetup(uint8_t pin, uint8_t channel, uint32_t freq);
* ``pin`` select GPIO pin. * ``pin`` select GPIO pin.
* ``channel`` select SigmaDelta channel. * ``channel`` select SigmaDelta channel.