Skip to content

Commit 4fa1e93

Browse files
authored
Merge pull request #23 from arduino-libraries/ubidefeo-LED_order_fix
Fix RGB LEDs colour order
2 parents 497fa01 + 9569445 commit 4fa1e93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Arduino_MKRIoTCarrier.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ class MKRIoTCarrier{
125125
Adafruit_ST7789 display = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, -1);
126126

127127
//RGB LEDs
128-
Adafruit_DotStar leds = Adafruit_DotStar(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BRG);
129-
private:
128+
Adafruit_DotStar leds = Adafruit_DotStar(NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR);
130129
};
131130
#endif

0 commit comments

Comments
 (0)