mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-03 09:00:28 +01:00
32 lines
619 B
ReStructuredText
32 lines
619 B
ReStructuredText
PCA9685 PWM
|
|
===========
|
|
|
|
FloatOutput support for an `PCA9695 16-Channel PWM Driver`_.
|
|
|
|
Example Usage
|
|
-------------
|
|
|
|
.. code-block:: cpp
|
|
|
|
// Create the PCA9685 Output hub with frequency 500Hz.
|
|
auto *pca9685 = App.make_pca9685_component(500.0f);
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
See :cpp:func:`Application::make_pca9685_component`.
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
PCA9685OutputComponent
|
|
**********************
|
|
|
|
.. doxygenclass:: output::PCA9685OutputComponent
|
|
:members:
|
|
:protected-members:
|
|
:undoc-members:
|
|
|
|
.. _PCA9695 16-Channel PWM Driver: https://www.adafruit.com/product/815
|