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

white line at edge of display #3328

Open
PaulVdBo opened this issue May 15, 2024 · 1 comment
Open

white line at edge of display #3328

PaulVdBo opened this issue May 15, 2024 · 1 comment

Comments

@PaulVdBo
Copy link

  • Arduino ide 1.8.19
  • TFT eSPI 2.3.4
  • display ST7735_GREENTAB 160x128

#define ST7735_DRIVER
#define ST7735_GREENTAB
#define TFT_HEIGHT 128
#define TFT_HEIGHT 160
#define SPI_FREQUENCY 40000000

3.3V for display comes from ESP32 board. (measured : 3.2V)
3.3V for LEDs comes from motion sensor via "amplifier" (measured 3.0V)

sketch : TFT_CLOCK

void setup(void) {
tft.init();
tft.setRotation(1);
tft.fillScreen(TFT_BLACK);

compiling = OK.
sketch runs fine.

BUT... :)

I have a random colored line at left side of display (I guess 2 pixels wide) as well a few colored pixels at the top row.
I tried GREENTAB, GREENTAB2 and GREENTAB3 : all same "problem"...

What am I doing wrong ?

I'm sorry if this problem has been mentioned somewhere else. In that case : just send me there :)

Mega thanks in advance !
20240515_172032

@PaulVdBo
Copy link
Author

I connected the display as follows :

MOSI - > 23
CLK -> 18
CS -> 15
DC -> 2 (named A0 on the display)
RST -> 4

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