esphome-docs/api/output/ledc.rst

32 lines
519 B
ReStructuredText
Raw Normal View History

2018-05-13 11:37:02 +02:00
ESP32 LEDC Output
=================
Example Usage
-------------
.. code-block:: cpp
// Basic
App.make_ledc_output(33);
// Custom Frequency
App.make_ledc_output(33, 2000.0);
2018-05-14 21:15:49 +02:00
.. cpp:namespace:: nullptr
2018-05-13 11:37:02 +02:00
See :cpp:func:`Application::make_ledc_output`.
API Reference
-------------
.. cpp:namespace:: nullptr
LEDCOutputComponent
*******************
.. doxygenclass:: output::LEDCOutputComponent
:members:
:protected-members:
:undoc-members:
.. doxygenvariable:: output::next_ledc_channel