Skip to content

Commit c25c2fe

Browse files
committed
Add new address for display
1 parent baf7045 commit c25c2fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Firmware/RTK_Everywhere/Display.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ void beginDisplay(TwoWire *i2cBus)
149149
if (present.display_type == DISPLAY_128x64 || present.display_type == DISPLAY_128x64_INVERTED)
150150
{
151151
i2cAddress = kOLEDMicroDefaultAddress;
152+
153+
if (productVariant == RTK_FLEX)
154+
i2cAddress = 0x3C;
155+
152156
if (oled == nullptr)
153157
oled = new QwiicCustomOLED;
154158
if (!oled)

0 commit comments

Comments
 (0)