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.65k stars 1.05k forks source link

ST7735S 0.96" 80x160 - black area #1269

Closed Gamadril closed 3 years ago

Gamadril commented 3 years ago

I'm not sure if it's a problem with the library or not, but I have a strange problem and I tried a lot of things, but cannot solve it...

I have a cheap ST7735S based RGB SPI-LCD with 80x160 resolution driven by ESP32 dev board.

#define ST7735_DRIVER
#define TFT_WIDTH  80
#define TFT_HEIGHT 160
#define ST7735_REDTAB160x80 
#define TFT_RGB_ORDER TFT_BGR 

With this setup above I got it partly working and showing correct colours. However, whatever combinations I've tried one part of the screen is always black. Maybe the display is damaged - I've ordered 2 of them and both show the same problem with the black area. Of course both displays might be damaged at the same time, but maybe you have an idea what to try else to get the full height shown.

LCD_BLACK_AREA

Gamadril commented 3 years ago

seems both displays are broken. bought another one from another shop and it works perfectly with the same code.