docs/esp32: Add info about PWM duty cycle range to esp32 quickref.

See related #4581.
This commit is contained in:
spacemanspiff2007 2020-06-25 15:35:58 +02:00 committed by Damien George
parent cb9aafbf8f
commit b572aa5721

View File

@ -175,6 +175,7 @@ range from 1Hz to 40MHz but there is a tradeoff; as the base frequency
*increases* the duty resolution *decreases*. See
`LED Control <https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/ledc.html>`_
for more details.
Currently the duty cycle has to be in the range of 0-1023.
Use the ``machine.PWM`` class::