esp32_dac.rst - Add light component to example (#885)

* esp32_dac.rst - Add light component to example

* Replace abbreviation

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
Christian Ferbar 2020-12-14 11:52:54 +01:00 committed by GitHub
parent 71279eccde
commit 28ec466d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,13 @@ The output level is a percentage of the board supply voltage (VDD_A) - generally
id: dac_output id: dac_output
level: 50% level: 50%
# Use the DAC output as a light
light:
- platform: monochromatic
output: dac_output
gamma_correct: 1.4
id: dac_output
Configuration variables: Configuration variables:
------------------------ ------------------------
@ -48,6 +55,7 @@ Use Cases
- Driving a bar graph or large amount of LEDs using an analog-controlled LED driver like the LM3914 - Driving a bar graph or large amount of LEDs using an analog-controlled LED driver like the LM3914
(`datasheet <https://www.ti.com/lit/ds/symlink/lm3914.pdf>`__); this can allow you to make tank (`datasheet <https://www.ti.com/lit/ds/symlink/lm3914.pdf>`__); this can allow you to make tank
level indicators, temperature gauges, and so on from a single output pin level indicators, temperature gauges, and so on from a single output pin
- Generating 0-10 V for a dimmable light (operational amplifier required)
See Also See Also
-------- --------