diff --git a/Tools/library.properties b/Tools/library.properties deleted file mode 100644 index 2e9b70a..0000000 --- a/Tools/library.properties +++ /dev/null @@ -1,11 +0,0 @@ -name=TFT_eSPI -version=2.1.9 -author=Bodmer -maintainer=Bodmer -sentence=TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32 -paragraph=Supports TFT displays using drivers (ILI9341 etc) that operate with hardware SPI or 8 bit parallel. -category=Display -url=https://github.com/Bodmer/TFT_eSPI -architectures=* -includes=TFT_eSPI.h - diff --git a/User_Setup_Select.h b/User_Setup_Select.h index 56443fe..5b2d475 100644 --- a/User_Setup_Select.h +++ b/User_Setup_Select.h @@ -46,7 +46,8 @@ //#include // Setup file for ESP8266 and ILI9488 SPI bus TFT //#include // Setup file for ESP32 and ILI9488 SPI bus TFT -//#include // Setup file for ESP32 and TTGO T4 (BTC) ILI9341 SPI bus TFT +//#include // Setup file for ESP32 and TTGO T4 version 1.2 +//#include // Setup file for ESP32 and TTGO T4 version 1.3 //#include // Setup file for ESP32 and TTGO TM ST7789 SPI bus TFT //#include // Setup file configured for ST7789 240 x 240 //#include // Setup file for ESP32 and TTGO T-Display ST7789V SPI bus TFT diff --git a/User_Setups/Setup22_TTGO_T4_v1.3.h b/User_Setups/Setup22_TTGO_T4_v1.3.h new file mode 100644 index 0000000..46f1680 --- /dev/null +++ b/User_Setups/Setup22_TTGO_T4_v1.3.h @@ -0,0 +1,31 @@ +// Setup for the TTGO T4 v1.3 ESP32 board with 2.2" ILI9341 display + +#define ILI9341_DRIVER + +#define TFT_BACKLIGHT_ON HIGH +#define TFT_BL 4 + +#define TFT_MISO 12 +#define TFT_MOSI 23 +#define TFT_SCLK 18 + +#define TFT_CS 27 +#define TFT_DC 32 +#define TFT_RST 5 + +#define LOAD_GLCD +#define LOAD_FONT2 +#define LOAD_FONT4 +#define LOAD_FONT6 +#define LOAD_FONT7 +#define LOAD_FONT8 +#define LOAD_GFXFF + +#define SMOOTH_FONT + +//#define SPI_FREQUENCY 27000000 + #define SPI_FREQUENCY 40000000 // Maximum for ILI9341 + +#define USE_HSPI_PORT + +#define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V