Browse Source

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

See related #4581.
pull/6146/head
spacemanspiff2007 4 years ago
committed by Damien George
parent
commit
b572aa5721
  1. 1
      docs/esp32/quickref.rst

1
docs/esp32/quickref.rst

@ -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::

Loading…
Cancel
Save