loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
564 stars 219 forks source link

ILI9486 power on with white screen. #83

Open JayceCa0 opened 4 years ago

JayceCa0 commented 4 years ago

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