-
Notifications
You must be signed in to change notification settings - Fork 338
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
blank screen but still uploads code #122
Comments
I've got the same issue. I have uploaded a simple test script to the board which, once loaded to the board, is able to output text to the serial monitor, and blink a led on GPIO 15 - but I am unable to get anything on the screen. example script: #include "TFT_eSPI.h"
TFT_eSPI tft= TFT_eSPI();
void setup()
{
Serial.begin(115200);
Serial.println("Setup Starting");
pinMode(15, OUTPUT);
digitalWrite(15, LOW);
tft.init();
delay(100);
Serial.println("Setup Done");
}
int i=0;
void loop()
{
tft.setRotation(3);
tft.fillScreen(TFT_ORANGE);
i++;
Serial.println("loop");
digitalWrite(15, HIGH);
delay(25);
digitalWrite(15, LOW);
// Wait a bit before going again.
delay(5000);
Serial.println("again");
} |
I had the same problem. In my case I removed the old Arduino IDE and installed a new one(2.2.1). Edit the User_Setup_Select.h file on /Users/./Documents/Arduino/libraries/TFT_eSPI Comment the line (add // to th beginning of the line) And uncomment the line |
Yup this fixed it for me. |
on my esp32 ttgo t-display it sees my computer and uploads code but the screen is blank when using my code that worked before and even the sketches. By the way I use the TFT_eSPI library and the cable still works since it uploads and connects to the board. Also I have had this happen to 2 of my boards now and one was brand new and had this problem.
I have tried many solutions I could find on the web but nothing has so far worked, does anyone have an answer to my problem?
The text was updated successfully, but these errors were encountered: