NeoPixel-KnightRider
NeoPixel-KnightRider copied to clipboard
Colors in demo are incorrect
Hi there,
thanx for a great sketch, saved me quite some time developing ;-)
However, in your demo, you use hex value for your colors based on RGB but the WS281x is set to GRB so the color 0xFF1000 is not the orange color you would expect. 0x10FF00 would be the correct value.
To avoid this kind of mistakes, you should use strip.Color(<RED VALUE>, <GREEN VALUE>, <BLUE VALUE>)
So in this case that would be strip.Color(0xFF, 0x10, 0x00)
If for whatever reason GRB changes again to RGB, you would not have to switch all color back to what they should be.
Greetinx Johan