Fix WS2812 color order to GRB (matching BMC)
This commit is contained in:
1 parent
30b56a0b4c
commit
2931571880
1 file changed
+1
-1
@@ -18,7 +18,7 @@ void PixelStompMux::begin() {
|
|||||||
|
|
||||||
delay(100);
|
delay(100);
|
||||||
|
|
||||||
FastLED.addLeds<WS2812, 9, RGB>(leds, NUM_LEDS);
|
FastLED.addLeds<WS2812, 9, GRB>(leds, NUM_LEDS);
|
||||||
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500);
|
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500);
|
||||||
FastLED.setBrightness(128);
|
FastLED.setBrightness(128);
|
||||||
fill_solid(leds, NUM_LEDS, CRGB::Black);
|
fill_solid(leds, NUM_LEDS, CRGB::Black);
|
||||||
|
|||||||
Reference in new issue
Block a user