-
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.
Default¶
12
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:23
Included via Kconfig:8
→ Kconfig.zephyr:40
→ drivers/Kconfig:68
→ drivers/led_strip/Kconfig:32
Menu path: (Top) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver
config WS2812_STRIP_MAX_PIXELS int "Maximum number of pixels in a strip" default 12 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.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)