-
CONFIG_WS2812_STRIP_MAX_PIXELS
¶
Maximum number of pixels in a strip
Type: int
Help¶
Set this to the maximum number of pixels you need to control at once. There is an 8x memory penalty associated with each increment of this value, so it’s worth optimizing.
Defaults¶
- 12 if
WS2812_STRIP
&&LED_STRIP
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:26
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:74
→ drivers/led_strip/Kconfig:35
Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver
config WS2812_STRIP_MAX_PIXELS int prompt "Maximum number of pixels in a strip" ifWS2812_STRIP
&&LED_STRIP
default 12 ifWS2812_STRIP
&&LED_STRIP
depends onWS2812_STRIP
&&LED_STRIP
help Set this to the maximum number of pixels you need to control at once. There is an 8x memory penalty associated with each increment of this value, so it's worth optimizing.
(Definitions include propagated dependencies, including from if’s and menus.)