Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whether the TFT_eSPI library supports rp2350 #3537

Open
Carlos-TGW opened this issue Nov 5, 2024 · 1 comment
Open

Whether the TFT_eSPI library supports rp2350 #3537

Carlos-TGW opened this issue Nov 5, 2024 · 1 comment

Comments

@Carlos-TGW
Copy link

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 <Arduino.h>
#include <TFT_eSPI.h>

#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
Copy link
Author

I used 4-wire SPI to link the ILI9488 screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant