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.53k stars 1.02k forks source link

white line at edge of display #3328

Open PaulVdBo opened 1 month ago

PaulVdBo commented 1 month ago

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 commented 1 month ago

I connected the display as follows :

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

fusionstream commented 3 weeks ago

Try the other board types. My "greentab" is actually a "blacktab"