From d23a70d16479ee4a678897243e5838266e27c1e9 Mon Sep 17 00:00:00 2001 From: KDM Date: Mon, 11 Dec 2023 22:41:37 +0000 Subject: [PATCH] Update Commands.md Clarified colour list in palette command and gave an example. --- docs/Commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Commands.md b/docs/Commands.md index 3ff8d7f1b2..211df70a03 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -438,7 +438,7 @@ LedPwmOff|`0..255` = set LED brightness when LedPwmOn|`0..255` = set LED brightness when ON LedTable|`0` = do not use [LED gamma correction](https://learn.adafruit.com/led-tricks-gamma-correction?view=all) *(default «6.5.0.9)*
`1` = use gamma correction *(default »6.5.0.9)* MultiPWM
SetOption68|Multi-channel PWM instead of a single light
`0` = Treat [PWM](#pwm) as a single light *(default)*
`1` = Treat [PWM](#pwm) as separate channels. In this mode, use [`Power`](#power) to turn lights on and off, and [`Channel`](#channel) to change the value of each channel.
[`Color`](#color) still works to set all channels at once.
***Requires restart after change*** -Palette| `0` = Clear color palette
`[ ...]` = Set list of colors used by `Color<1,2>` and `Scheme<2,3,4>` commands with each color separated by a space. The palette setting is not saved to flash. Use a boot-time rule such as ON System#Boot DO Palette xxxxx ENDON to set it back at each restart. +Palette| `0` = Clear color palette
`[ ...]` = Set list of colors used by the `Color<1,2>` and `Scheme<2,3,4>` commands.
The square brackets are not used, and each color should be separated by a space. E.g. `palette #ff00ff #00ffff #ff0000` will use magenta, yellow and red as the colour list.
The palette setting is not saved to flash: use a boot-time rule such as `ON System#Boot DO Palette xxxxx ENDON` to set it back at each restart. Pixels|`1..512` = set amount of pixels in strip or ring and reset [`Rotation`](#rotation) *(applies only to addressable LEDs)* PowerOnFade
SetOption91|Enable `Fade` at boot and power on. By default fading is not enabled at boot because of stuttering caused by wi-fi connection
`0` = don't Fade at startup _(default)_
`1` = Fade at startup PWMCT
SetOption92|Alternative to `Module 38`: for Cold/Warm white bulbs, enable the second PWM as CT (Color Temp) instead of Warm White, as required for Philips-Xiaomi bulbs.
`0` = normal Cold/Warm PWM _(default)_
`1` = Brightness/CT PWM
See [PWM CT in Lights](Lights.md#pwm-ct)