Scaneffectlength (#264)

* Added documentation for scan_length in Addressable Scan Effect

* Renamed scan_length to scan_width in Addressable Scan Effect, fixed default value in example
This commit is contained in:
Major Péter 2019-06-04 12:16:09 +02:00 committed by Otto Winter
parent 65cb08891f
commit 0ce9c22b2c

View File

@ -563,12 +563,15 @@ currently active light color.
- addressable_scan:
name: Scan Effect With Custom Values
move_interval: 100ms
scan_width: 1
Configuration variables:
- **name** (*Optional*, string): The name of the effect. Defaults to ``Scan``.
- **move_interval** (*Optional*, :ref:`config-time`): The interval with which to move the dot one LED forward.
- **move_interval** (*Optional*, :ref:`config-time`): The interval with which to move the dot/line one LED forward.
Defaults to ``100ms``.
- **scan_width** (*Optional*, integer): The number of LEDs to use.
Defaults to ``1``.
Addressable Twinkle Effect
**************************