define PIN_NUM_TCS 33//25 // Touch screen CS pin (NOT used if USE_TOUCH=0)
// --------------------------------------------------------------
// Set Reset and Backlight pins to 0 if not used !
// If you want to use them, set them to some valid GPIO number
define PIN_NUM_RST 0 // GPIO used for RESET control
define PIN_NUM_BCKL 0 // GPIO used for backlight control
define PIN_BCKL_ON 0 // GPIO value for backlight ON
define PIN_BCKL_OFF 1 // GPIO value for backlight OFF
I use the same all config with the ILI9488 screen. Only change the pin configuration.
define PIN_NUM_MISO 39//19 // SPI MISO
define PIN_NUM_MOSI 22//23 // SPI MOSI
define PIN_NUM_CLK 19//18 // SPI CLOCK pin
define PIN_NUM_CS 32//5 // Display CS pin
define PIN_NUM_DC 27//26 // Display command/data pin
define PIN_NUM_TCS 33//25 // Touch screen CS pin (NOT used if USE_TOUCH=0)
// -------------------------------------------------------------- // Set Reset and Backlight pins to 0 if not used ! // If you want to use them, set them to some valid GPIO number
define PIN_NUM_RST 0 // GPIO used for RESET control
define PIN_NUM_BCKL 0 // GPIO used for backlight control
define PIN_BCKL_ON 0 // GPIO value for backlight ON
define PIN_BCKL_OFF 1 // GPIO value for backlight OFF