CONFIG_WS2812_GRN_ORDER

Order in which a green pixel should be shifted out

Type: int

Help

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

Direct dependencies

WS2812_STRIP && LED_STRIP

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

Defaults

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:87

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:76drivers/led_strip/Kconfig:46

Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver

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

(Definitions include propagated dependencies, including from if’s and menus.)