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.82k stars 1.1k forks source link

Whether the TFT_eSPI library supports rp2350 #3537

Open Carlos-TGW opened 3 weeks ago

Carlos-TGW commented 3 weeks ago

IDE:Arduino IDE chip:RP2350 Configuration: ![Uploading 企业微信截图_17307959277624.png…]()

Using the screen:3.5 LCD Screen driver:ILI9488 The problem: When rp2040 uses TFT_eSPI library to drive ILI9488 screen, the use is normal. However, when rp2350 uses TFT_eSPI library to drive ILI9488 screen, the screen is abnormal. It compiles, but it doesn't display properly.

Here's the code:

include

include

define LCD_BL 18

TFT_eSPI tft = TFT_eSPI(); / TFT instance screenWidth, screenHeight /

void setup() { // put your setup code here, to run once: Serial.begin( 115200 );

tft.begin();          /* TFT init */
tft.setRotation( 1); /* Landscape orientation, flipped */
tft.invertDisplay(false);

} uint16_t flag=0; void loop() { // put your main code here, to run repeatedly: delay(4000);
tft.fillScreen(TFT_RED); delay(1000); tft.fillScreen(TFT_GREEN); delay(1000); tft.fillScreen(TFT_BLUE); delay(1000); tft.fillScreen(TFT_WHITE); delay(1000); tft.fillScreen(TFT_BLACK); delay(1000); tft.fillScreen(TFT_DARKGREY); delay(1000);

}

I want to ask: does TFT_eSPI library support rp2350 to drive ILI9488?

Carlos-TGW commented 3 weeks ago

I used 4-wire SPI to link the ILI9488 screen

webzep commented 2 days ago

@Carlos-TGW this worked for you with RP2350?