-
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.)
Defaults¶
- 3 if
WS2812_HAS_WHITE_CHANNEL
&&WS2812_STRIP
&&LED_STRIP
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:111
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:76
→ drivers/led_strip/Kconfig:46
Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver
config WS2812_WHT_ORDER int prompt "Order in which a white pixel should be shifted out" ifWS2812_HAS_WHITE_CHANNEL
&&WS2812_STRIP
&&LED_STRIP
range 0 3 ifWS2812_HAS_WHITE_CHANNEL
&&WS2812_STRIP
&&LED_STRIP
default 3 ifWS2812_HAS_WHITE_CHANNEL
&&WS2812_STRIP
&&LED_STRIP
depends onWS2812_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.
(Definitions include propagated dependencies, including from if’s and menus.)