This commit is contained in:
Mike Kendall 2024-01-05 22:35:54 -08:00 committed by GitHub
commit 96409e6cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -341,6 +341,10 @@ void printMatrix()
toPrint.toUpperCase();
}
if (OffsetX >= TFT_WIDE) {
OffsetX = 0;
TFT_099.DispColor(0, 0, TFT_HIGH, TFT_WIDE, BLACK);
}
TFT_099.DispColor(0, OffsetX, TFT_HIGH, TFT_WIDE, BLACK);
char c[2];
@ -350,11 +354,7 @@ void printMatrix()
Serial.print(toPrint);
bleKeyboard.print(toPrint);
OffsetX = OffsetX + GAP;
if (OffsetX > 160) {
OffsetX = 0;
TFT_099.DispColor(0, 0, TFT_HIGH, TFT_WIDE, BLACK);
}
TFT_099.backlight(50);
previousMillis_1 = millis();