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.53k stars 1.02k forks source link

ESP32S3 and ILI9488 SPI #2948

Closed smkr9500 closed 8 months ago

smkr9500 commented 8 months ago

Hi

I can't find a file for ESP32S3 and ILI9488 SPI! But the file "Setup70b_ESP32_S3_ILI9341.h" can be used too with ILI9488!

I did this: `

define USER_SETUP_ID 70

// See SetupX_Template.h for all options available **//#define ILI9341_DRIVER

define ILI9488_DRIVER**

                // Typical board default pins - change to match your board

define TFT_CS 10 // 10 or 34 (FSPI CS0)

define TFT_MOSI 11 // 11 or 35 (FSPI D)

define TFT_SCLK 12 // 12 or 36 (FSPI CLK)

define TFT_MISO 13 // 13 or 37 (FSPI Q)

// Use pins in range 0-31

define TFT_DC 7

define TFT_RST 6`

That way I just have to comment/uncomment the driver line depending on project.

Is that wrong?

Bodmer commented 8 months ago

If it works, then that is a good approach.