

If all fonts are loaded the extra FLASH space required is The ESP8366 and ESP32 have plenty of memory so commenting out fonts is not Comment out the #defines below with // to stop that font being loaded Define the fonts that are to be used here #define TOUCH_CS PIN_D2 // Chip select pin (T_CS) of touch screen #define TFT_BL PIN_D1 // LED back-light (only for ST7789 with backlight control pin) #define TFT_RST -1 // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V #define TFT_RST 25 // Reset pin (could connect to NodeMCU RST, see next line) #define TFT_DC 14 // Data Command control pin

#define TFT_CS 22 // Chip select control pin D8 For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation # EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP8266 SETUP # Define the pins that are used to interface with the display here
#TFT SPI ARDUINO DRIVER#
Call up the right driver file and any options for it Define to disable all #warnings in library (can be put in User_Setup_Select.h) User defined information reported by "Read_User_Setup" test & diagnostics example Note that some sketches are designed for a particular TFT pixel width/height run without the need to make any more changes for a particular hardware setup! If this file is edited correctly then all the library example sketches should setups and then easily select which setup file is used by the compiler. See the User_Setup_Select.h file if you wish to be able to define multiple Set driver type, fonts to be loaded, pins used and SPI control method etc User setup file for ILI9486 // USER DEFINED SETTINGS
