mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
8d9b0d2375
* Netlify * Fix * Faster doxygen * Update Makefile * Try without api * Debug * Fix * Update Makefile * Debug * Try 1.8.13 * Remove debug * Update Makefile * Optimize
50 lines
1.5 KiB
ReStructuredText
50 lines
1.5 KiB
ReStructuredText
MY9231/MY9291 Output
|
|
====================
|
|
|
|
.. seo::
|
|
:description: Instructions for setting up MY931 and MY9231 outputs.
|
|
:image: my9231.png
|
|
|
|
The MY931/MY9291 output component exposes a MY931/MY9291 channel of a global
|
|
:doc:`/components/my9231` as a float output.
|
|
|
|
.. code-block:: yaml
|
|
|
|
# Example configuration entry
|
|
my9231:
|
|
- data_pin: GPIO12
|
|
clock_pin: GPIO14
|
|
|
|
# Individual outputs
|
|
output:
|
|
- platform: my9231
|
|
id: 'my9231_output1'
|
|
channel: 0
|
|
|
|
Configuration variables:
|
|
------------------------
|
|
|
|
- **id** (**Required**, :ref:`config-id`): The id to use for this output component.
|
|
- **channel** (**Required**, int): Chose the channel of the MY9231/MY9291 chain of
|
|
this output component. Channel 0 is the most close channel.
|
|
- **my9231_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the
|
|
:doc:`/components/my9231`.
|
|
Use this if you have multiple MY9231/MY9291 chains you want to use at the same time.
|
|
- All other options from :ref:`Output <config-output>`.
|
|
|
|
See Also
|
|
--------
|
|
|
|
- :doc:`/components/my9231`
|
|
- :doc:`/components/output/index`
|
|
- :doc:`/components/output/esp8266_pwm`
|
|
- :doc:`/components/output/ledc`
|
|
- :doc:`/components/light/monochromatic`
|
|
- :doc:`/components/fan/speed`
|
|
- :doc:`/components/power_supply`
|
|
- :apiref:`output/my9231_output_component.h`
|
|
- `MY92XX LED driver library for Arduino AVR and ESP8266 <https://github.com/xoseperez/my92xx>`__ by `@xoseperez <https://github.com/xoseperez>`__
|
|
- :ghedit:`Edit`
|
|
|
|
.. disqus::
|