-
CONFIG_WS2812_STRIP
¶
Enable WS2812 (and compatible) LED strip driver
Type: bool
Help¶
Enable LED strip driver for daisy chains of WS2812-ish (or WS2812B, WS2813, SK6812, or compatible) devices. These devices have a one-wire communications interface which encodes bits using pulses. Short pulses indicate zero bits, and long pulses indicate ones; refer to the chip datasheets for precise specifications. To implement this in a multitasking operating system, this driver generates the pulses using a SPI peripheral.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:11
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:76
→ drivers/led_strip/Kconfig:46
Menu path: (top menu) → Device Drivers → LED strip drivers
menuconfig WS2812_STRIP bool prompt "Enable WS2812 (and compatible) LED strip driver" ifSPI
&&LED_STRIP
depends onSPI
&&LED_STRIP
help Enable LED strip driver for daisy chains of WS2812-ish (or WS2812B, WS2813, SK6812, or compatible) devices. These devices have a one-wire communications interface which encodes bits using pulses. Short pulses indicate zero bits, and long pulses indicate ones; refer to the chip datasheets for precise specifications. To implement this in a multitasking operating system, this driver generates the pulses using a SPI peripheral.
(Definitions include propagated dependencies, including from if’s and menus.)