Support Adafruit 240x280 ST7789 screen

This commit is contained in:
Bodmer 2022-04-26 21:57:42 +01:00
parent e09230c9ac
commit 18a76f1c65
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@
#endif #endif
#endif #endif
// Adafruit 1.69 round corner TFT support
#if (TFT_HEIGHT == 280) && (TFT_WIDTH == 240)
#ifndef CGRAM_OFFSET
#define CGRAM_OFFSET
#endif
#endif
// 1.47" 172x320 Round Rectangle Color IPS TFT Display // 1.47" 172x320 Round Rectangle Color IPS TFT Display
#if (TFT_HEIGHT == 320) && (TFT_WIDTH == 172) #if (TFT_HEIGHT == 320) && (TFT_WIDTH == 172)
#ifndef CGRAM_OFFSET #ifndef CGRAM_OFFSET