Skip to content

APA102 RGB LED Driver

lbuild module: modm:driver:apa102

Drives any number of chained APA102 RGB LEDs using SPI signals SCK and MOSI up to a few dozen MHz. Due to the synchronous clock, there are no special restrictions on protocol timing, making this driver safe to use with interrupts enabled and/or with an RTOS.

The internal data buffer size is 4B for start of frame, 4B for every LED and 1B for every 16 LEDs as end of frame.

References:

Dependencies

modm:driver:apa102 modm_driver_apa102 modm: driver: apa102 modm_architecture_spi modm: architecture: spi modm_driver_apa102->modm_architecture_spi modm_processing_resumable modm: processing: resumable modm_driver_apa102->modm_processing_resumable modm_ui_color modm: ui: color modm_driver_apa102->modm_ui_color