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.

Direct dependencies

SPI && LED_STRIP

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:8

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:68drivers/led_strip/Kconfig:32

Menu path: (Top) → Device Drivers → LED strip drivers

menuconfig WS2812_STRIP
    bool "Enable WS2812 (and compatible) LED strip driver"
    depends on SPI && 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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)