-
CONFIG_WS2812_RED_ORDER
¶
Order in which a red pixel should be shifted out
Type: int
Help¶
If the red channel is shifted out first, specify 0. If second, specify 1, and so on.
Defaults¶
- 1 if
WS2812_STRIP
&&LED_STRIP
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:79
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_RED_ORDER int prompt "Order in which a red pixel should be shifted out" ifWS2812_STRIP
&&LED_STRIP
range 0 3 ifWS2812_STRIP
&&LED_STRIP
default 1 ifWS2812_STRIP
&&LED_STRIP
depends onWS2812_STRIP
&&LED_STRIP
help If the red channel is shifted out first, specify 0. If second, specify 1, and so on.
(Definitions include propagated dependencies, including from if’s and menus.)