Crate ws2812_spi_write_constants

Crate ws2812_spi_write_constants 

Source
Expand description

Contains macros for constant generation

WS2812 SPI data uses SPI writes to define high/low patterns to sent to the neopixel chip to be interpreted as values

This crate pre-computes the specific patterns requires.

Macrosยง

ws2812_constants
Proc macro that generates a constant with the given name that contains all 256 combinations of patters to send a byte to WS2812