loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
553 stars 219 forks source link

Display is shifted #67

Closed nf9 closed 5 years ago

nf9 commented 5 years ago

Hello all,

I am currently using TTGO TS v1.2 with 1.8 inch TFT LCD. Everything works fine except the display is shifted by 2 pixel on the x-axis and 1 pixel on the-y axis. It is showing random pixel. I tried 3 different variants: DISP_TYPE_ST7735 -> doesn't show anything DISP_TYPE_ST7735R -> shifted DISP_TYPE_ST7735B -> shifted

any tips/workaround?

nf9 commented 5 years ago

Hello all,

I found my workaround. I added offset to disp_spi_transfer_addrwin(). 2 pixel on x axis and 1 pixel on y axis. Now the demo runs fine.

Thanks