Update for WROVER to address #232

The library supported 240x240 ST7789 displays only which require an 80
pixel offset in rotation 2 and 3
The library now also supports the 240x320 display which has a different
RGB colour order.
This commit is contained in:
Bodmer committed 2018-11-06 00:41:14 +00:00
1 parent 8d29c396e3
commit cbc2e66dfd
7 files changed
+112 -45

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@
#define TFT_HEIGHT 320
#endif
#define CGRAM_OFFSET
#if (TFT_HEIGHT == 240) && (TFT_WIDTH == 240)
#define CGRAM_OFFSET
#endif
// Delay between some initialisation commands
#define TFT_INIT_DELAY 0x80 // Not used unless commandlist invoked