TFT_eSPI
TFT_eSPI copied to clipboard
white line at edge of display
- 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 !
I connected the display as follows :
MOSI - > 23 CLK -> 18 CS -> 15 DC -> 2 (named A0 on the display) RST -> 4
Try the other board types. My "greentab" is actually a "blacktab"