Feature update

Add ILI9225 support
Add viewport feature to Sprites
Rationalise common TFT_eSPI and Sprite functions and variables to use inherited functions width(), height(), rotation(), write(), pivot, cursor, swapBytes.
This commit is contained in:
Bodmer committed 2020-12-01 20:06:32 +00:00
1 parent 27216f89cc
commit 42e6fc87ff
16 files changed
+842 -920

No files matched your search

+3 -2
View File
@@ -1,7 +1,8 @@
// For ESP8266
// See SetupX_Template.h for all options available
#define RPI_DISPLAY_TYPE
#define ILI9486_DRIVER // 20MHz maximum SPI
#define ILI9486_DRIVER
// For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
#define TFT_CS PIN_D2 // Chip select control pin D2
@@ -23,7 +24,7 @@
#define SMOOTH_FONT
#define SPI_FREQUENCY 16000000
#define SPI_FREQUENCY 16000000 // Some displays will operate at higher frequencies
#define SPI_TOUCH_FREQUENCY 2500000
+3 -2
View File
@@ -1,6 +1,7 @@
// For ESP32
// See SetupX_Template.h for all options available
#define RPI_DISPLAY_TYPE
#define ILI9486_DRIVER // 20MHz maximum SPI
#define ILI9486_DRIVER
#define TFT_MISO 19
#define TFT_MOSI 23
@@ -24,6 +25,6 @@
#define SMOOTH_FONT
#define SPI_FREQUENCY 20000000
#define SPI_FREQUENCY 20000000 // Some displays will operate at higher frequencies
#define SPI_TOUCH_FREQUENCY 2500000