Fix WS2812 color order to GRB (matching BMC)
This commit is contained in:
@@ -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