Skip to content

Commit

Permalink
Add PixelType
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Jan 24, 2025
1 parent d21f2b3 commit 749a013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ LedTable<a class="cmnd" id="ledtable"></a>|`0` = do not use [LED gamma correctio
MultiPWM<a class="cmnd" id="multipwm"></a><BR>SetOption68<a class="cmnd" id="setoption68"></a>|Multi-channel PWM instead of a single light<BR>`0` = Treat [PWM](#pwm) as a single light *(default)*<BR>`1` = Treat [PWM](#pwm) as separate channels. In this mode, use [`Power<x>`](#power) to turn lights on and off, and [`Channel<x>`](#channel) to change the value of each channel.<BR>[`Color`](#color) still works to set all channels at once.<BR>***Requires restart after change***
Palette<a class="cmnd" id="palette"></a>| `0` = Clear color palette<br>`[ ...]` = 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<a class="cmnd" id="pixels"></a>|`1..512` = set amount of pixels in strip or ring and reset [`Rotation`](#rotation) *(applies only to addressable LEDs)*
PixelType<a class="cmnd" id="pixeltype"></a>|(ESP32 only) Set the number of channels per led in the strip, and the color order<BR>`0` = use compile-time options, like on ESP8266 (default)<BR>`1` = `GRB` (typical for WS2812)<BR>`2` = `RGB`<BR>`3` = `RBG`<BR>`4` = `BRG`<BR>`5` = `BGR`<BR>`6` = `GBR`<BR>add `8` = 4 channels strip (RGBW), default 3 channels<BR>add `16` = if `W` is sent first, default `W` is sent last<BR><BR>Examples:<BR>`1` = `GRB`<BR>`9` = `GRBW`<BR>`25` = `WGRB`
PowerOnFade<a class="cmnd" id="poweronfade"></a><BR>SetOption91<a class="cmnd" id="setoption91"></a>|Enable `Fade` at boot and power on. By default fading is not enabled at boot because of stuttering caused by wi-fi connection<BR>`0` = don't Fade at startup _(default)_ <BR>`1` = Fade at startup
PWMCT<a class="cmnd" id="pwmct"></a><BR>SetOption92<a class="cmnd" id="setoption92"></a>|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.<BR>`0` = normal Cold/Warm PWM _(default)_ <BR>`1` = Brightness/CT PWM<BR>See [PWM CT in Lights](Lights.md#pwm-ct)
RGBWWTable<a class="cmnd" id="rgbwwtable"></a>|Control light intensity of unbalanced PWM channels<br>`PWM1,PWM2,PWM3,PWM4,PWM5` = channel range with values `0..255` *(default =`255,255,255,255,255`)*<BR>Range adjustment is computed **after** Gamma correction.
Expand Down

0 comments on commit 749a013

Please sign in to comment.