Files
ESPEasy/docs/source/Plugin/P038_commands.repl
T

71 lines
2.5 KiB
Plaintext

.. csv-table::
:header: "Command Syntax", "Extra information"
:widths: 20, 30
"
| ``NeoPixel,<led nr>,<red>,<green>,<blue>[,<brightness>]``
","
| Set the LED to the provided R/G/B[/W] color value.
| led nr: 1..<Led Count>
| red: 0..255
| green: 0..255
| blue: 0..255
| brightness: 0..255 (only applicable when using GRBW LEDs)
"
"
| ``NeoPixelAll,<red>,<green>,<blue>[,<brightness>]``
","
| Set all LEDs to the provided R/G/B[/W] color value.
"
"
| ``NeoPixelLine,<start led nr>,<stop led nr>,<red>,<green>,<blue>[,<brightness>]``
","
| Set a group of LEDs to the provided R/G/B[/W] color value.
| Start LED nr and Stop LED nr should be within range 1..<Led Count>.
"
"
| ``NeoPixelHSV,<led nr>,<hue>,<saturation>,<value>``
","
| Set the LED to the provided H/S/V color value.
| led nr: 1..<Led Count>
| hue: 0..255
| saturation: 0..255
| value: 0..255
"
"
| ``NeoPixelAllHSV,<hue>,<saturation>,<value>``
","
| Set all LEDs to the provided H/S/V color value.
"
"
| ``NeoPixelLineHSV,<start led nr>,<stop led nr>,<hue>,<saturation>,<value>``
","
| Set a group of LEDs to the provided H/S/V color value.
| Start LED nr and Stop LED nr should be within range 1..<Led Count>.
"
"
| ``NeoPixelBright[,<brightness>]``
","
| Set the level of display brightness, range: 0..255. If no brightness or 0 is provided, the Initial brightness setting is used.
| The maximum brightness allowed is determined by the Maximum allowed brightness setting.
"
"
| ``NeoPixelFor,<start led nr>,<stop led nr>,<increment>,<red>,<green>,<blue>[,<brightness>][,<clear>]``
","
| Set a pattern of LEDs to the provided R/G/B[/W] color value.
| Start LED nr and Stop LED nr should be within range 1..<Led Count>.
| Increment must be <> 0, and can be negative if ``<start led nr>`` > ``<stop led nr>``.
| The <clear> argument, when provided with value 1, will clear the pixels that are not set to the requested color.
"
"
| ``NeoPixelForHSV,<start led nr>,<stop led nr>,<increment>,<hue>,<saturation>,<value>[,<clear>]``
","
| Set a pattern of LEDs to the provided H/S/V color value.
| Start LED nr and Stop LED nr should be within range 1..<Led Count>.
| Increment must be <> 0, and can be negative if ``<start led nr>`` > ``<stop led nr>``.
| The <clear> argument, when provided with value 1, will clear the pixels that are not set to the requested color.
"