ws2812-spi
ws2812-spi copied to clipboard
Rework ws2812-spi
-
Don't use numpy for ws2812 anymore. Instead, use lookup tables for encoding one byte to 3 bytes output (oversampling by a factor of 3). I've looked up the idea from @msperl, sorry for pun:)
-
Clean up the code, make it closer to PEP8 standard.