Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.81k stars 1.1k forks source link

Problem connecting ili9488 3.5" Touch Display to ESP32 #3539

Open MRAbbasi1 opened 2 weeks ago

MRAbbasi1 commented 2 weeks ago

IMG_3520

Hello, I am using 3.5" TFT LCD Shield with Arduino Uno and its work great, but in other project i can't use with esp32 SPI connection. Please guide me how to solve this issue?

` ######## wiring ########

`

`// ######## User_Setup.h ########

// Define the ILI9488 display driver

define ILI9488_DRIVER

// Define the pins for ILI9488

define TFT_CS 27 // Chip Select

define TFT_RST 26 // Reset

define TFT_DC 33 // Data/Command (or RS)

define TFT_WR 32 // Write

define TFT_RD 25 // Read

// Define the data pins (D0 to D7)

define TFT_D0 5 // Data 0

define TFT_D1 18 // Data 1

define TFT_D2 19 // Data 2

define TFT_D3 21 // Data 3

define TFT_D4 22 // Data 4

define TFT_D5 23 // Data 5

define TFT_D6 14 // Data 6

define TFT_D7 12 // Data 7

// Optional: Define the touch screen control pin

define TOUCH_CS -1 // Chip select pin for touch screen (optional)

// Optional: Set the colour order if needed (swap Red/Blue)

define TFT_RGB_ORDER TFT_RGB // Colour order Red-Green-Blue

// Optional: Enable inversion if the colours appear incorrect // #define TFT_INVERSION_ON

`

Basitadam commented 2 weeks ago

Hi @MRAbbasi1,

Try adding this to your User_Setup.h file: #define TFT_PARALLEL_8_BIT

BR, Tim