I have a 1.9" tft display that has a streak of gray where the text is supposed to be, I don't know why or how to fix it. I would appreciate any help. I am using the Adafruit GFX and ST7789 Libraries.
And your code?
If we can't see the code, we'll play a guessing game.
I apologise, this is the code:
#include <Adafruit_GFX.h>
#include <Adafruit_ST7789.h>
#include <SPI.h>
#define TFT_CS 10
#define TFT_DC 9
#define TFT_RST 8
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
void setup() {
analogWrite(6, 64);
tft.init(170, 320);
tft.setRotation(1);
tft.fillScreen(ST77XX_BLACK);
tft.setTextColor(ST77XX_WHITE);
tft.setTextSize(2);
tft.setCursor(20, 20);
tft.print("ST7789");
}
void loop() {}
First remove the plastic from the screen. Second adjust the backlight and see if that makes a difference.
I have removed the plastic film and changed the brightness to 256 and it worked. Thank you.
That may only be temporary, some of your solder joints look very questionable, particularly the GND and RES pins.
it did start to flicker but I just changed it from 3.3v to 5v and it stopped
