mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-17 11:05:39 +01:00
411a41e696
* API documentation for MY9231/MY9291 LED driver component * esphomeyaml documentation for MY9231/MY9291 LED driver component * Corrections * Create entry for MY9231 in esphomeyaml/index.rst * Add a note about boot behaviour of MY9231. * Add Sonoff B1 configuration example.
31 lines
594 B
ReStructuredText
31 lines
594 B
ReStructuredText
MY9231/MY9291 Output
|
|
====================
|
|
|
|
FloatOutput support for an MY9231/MY9291 LED driver chain.
|
|
|
|
Example Usage
|
|
-------------
|
|
|
|
.. code-block:: cpp
|
|
|
|
// Create the MY9231 Output hub connected to GPIO12 (DI pin) and
|
|
// GPIO14 (DCKI pin).
|
|
auto *pmy9231 = App.make_my9231_component(12, 14);
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
See :cpp:func:`Application::make_my9231_component`.
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
MY9231OutputComponent
|
|
**********************
|
|
|
|
.. doxygenclass:: output::MY9231OutputComponent
|
|
:members:
|
|
:protected-members:
|
|
:undoc-members:
|