2018-11-13 16:51:42 +01:00
|
|
|
MY9231/MY9291 Output
|
|
|
|
====================
|
|
|
|
|
2018-11-14 22:12:27 +01:00
|
|
|
.. seo::
|
|
|
|
:description: Instructions for setting up MY931 and MY9231 outputs.
|
2018-11-19 18:32:16 +01:00
|
|
|
:image: my9231.png
|
2018-11-14 22:12:27 +01:00
|
|
|
|
2018-11-13 16:51:42 +01:00
|
|
|
The MY931/MY9291 output component exposes a MY931/MY9291 channel of a global
|
2019-02-07 13:54:45 +01:00
|
|
|
:doc:`/components/my9231` as a float output.
|
2018-11-13 16:51:42 +01:00
|
|
|
|
2018-11-19 18:32:16 +01:00
|
|
|
.. code-block:: yaml
|
2018-11-13 16:51:42 +01:00
|
|
|
|
|
|
|
# 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
|
2019-02-07 13:54:45 +01:00
|
|
|
:doc:`/components/my9231`.
|
2018-11-13 16:51:42 +01:00
|
|
|
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
|
|
|
|
--------
|
|
|
|
|
2019-02-07 13:54:45 +01:00
|
|
|
- :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`
|
2018-11-13 16:51:42 +01:00
|
|
|
- `MY92XX LED driver library for Arduino AVR and ESP8266 <https://github.com/xoseperez/my92xx>`__ by `@xoseperez <https://github.com/xoseperez>`__
|
2019-02-07 13:54:45 +01:00
|
|
|
- :ghedit:`Edit`
|
2018-11-13 16:51:42 +01:00
|
|
|
|
|
|
|
.. disqus::
|