mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +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
|