Skip to content

Commit 0a081c9

Browse files
authored
Merge pull request #12 from arduino-libraries/karlsoderby/fix-rgb-bit
Update R,G,B address
2 parents c5ac8d2 + 530ab7a commit 0a081c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GigaDisplayRGB.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ void GigaDisplayRGB::begin()
1313
void GigaDisplayRGB::on(uint8_t r, uint8_t g, uint8_t b)
1414
{
1515
writeByte(0x10, r);
16-
writeByte(0x12, g);
17-
writeByte(0x11, b);
16+
writeByte(0x11, g);
17+
writeByte(0x12, b);
1818
writeByte(0x2b, 0xc5);
1919
}
2020

0 commit comments

Comments
 (0)