From 749a01397ffb0ffde716aea10af2f17ebccc9cb3 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Fri, 24 Jan 2025 21:21:58 +0100 Subject: [PATCH] Add `PixelType` --- docs/Commands.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Commands.md b/docs/Commands.md index 4b479f997e..356c496ec8 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -470,6 +470,7 @@ LedTable|`0` = do not use [LED gamma correctio 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. Pixels|`1..512` = set amount of pixels in strip or ring and reset [`Rotation`](#rotation) *(applies only to addressable LEDs)* +PixelType|(ESP32 only) Set the number of channels per led in the strip, and the color order
`0` = use compile-time options, like on ESP8266 (default)
`1` = `GRB` (typical for WS2812)
`2` = `RGB`
`3` = `RBG`
`4` = `BRG`
`5` = `BGR`
`6` = `GBR`
add `8` = 4 channels strip (RGBW), default 3 channels
add `16` = if `W` is sent first, default `W` is sent last

Examples:
`1` = `GRB`
`9` = `GRBW`
`25` = `WGRB` 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) RGBWWTable|Control light intensity of unbalanced PWM channels
`PWM1,PWM2,PWM3,PWM4,PWM5` = channel range with values `0..255` *(default =`255,255,255,255,255`)*
Range adjustment is computed **after** Gamma correction.