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
Proc macro that generates a constant with the given name that contains all 256 combinations of patters to send a byte to WS2812