light_ws2812
light_ws2812 copied to clipboard
Standard format for cRGB
I prefer to use {0, 0, 0}
to set the values of the LEDs versus having a cRGB variable that you have to set with var.r = 0; var.g = 0; var.b = 0;
to help keep this standard I changed:
- all the libraries that use cRGB to enforce RGB data order.
I also changed:
- some of the examples to demonstrate this simpler way of declaring a struct.
- added keywords.txt for the Arduino library.
I do not have anything setup for testing the AVR libraries to ensure functionality. So functionality is only known for the following:
- [x] Working for Arduino
- [ ] Working for WS2812 AVR
- [ ] Working for APA102 AVR