CONFIG_WS2812_WHT_ORDER

Order in which a white pixel should be shifted out

Type: int

Help

If the blue channel is shifted out first, specify 0. If second, specify 1, and so on.

Direct dependencies

WS2812_HAS_WHITE_CHANNEL && WS2812_STRIP && LED_STRIP

(Includes any dependencies from if’s and menus.)

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:93

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:76drivers/led_strip/Kconfig:35

Menu path: (Top) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver → Does the chip have a white channel on wire?

config WS2812_WHT_ORDER
    int "Order in which a white pixel should be shifted out"
    range 0 3
    default 3
    depends on WS2812_HAS_WHITE_CHANNEL && WS2812_STRIP && LED_STRIP
    help
      If the blue channel is shifted out first, specify 0.
      If second, specify 1, and so on.

(The ‘depends on’ condition includes propagated dependencies from if’s and menus.)