1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

Add color replacement for b/w

This commit is contained in:
norbert-walter
2026-03-13 15:44:08 +01:00
parent a0afd5deca
commit 12fc962107
3 changed files with 11 additions and 6 deletions
+2
View File
@@ -43,6 +43,8 @@
#define OBP_SPI_DIN 48
#define OBP_TFT_OFFSET_X 10 // ST7796 operating x-offset for centered 400x300 content
#define OBP_TFT_OFFSET_Y -20 // ST7796 operating y-offset for centered 400x300 content
#define TFT_BLACK 0x0109 // Replacement color for black on TFT (RGB565)
#define TFT_WHITE 0xFFFF // Replacement color for white on TFT (RGB565)
#define SHOW_TIME 6000 // Show time in [ms] for logo and WiFi QR code
#define FULL_REFRESH_TIME 600 // Refresh cycle time in [s][600...3600] for full display update (very important healcy function)
#define GxEPD_WIDTH 400 // Display width