128x128 ST7735 display with alignment issues #2573
Replies: 1 comment 1 reply
-
I think I found the issue, although I don't understand the concept at all. I located another forum and someone mentioned using greentab. My screen came with a red tab, but I noticed some documentation in some of the setup files that encouraged me to experiment with each of them. Sure enough, when I used ST7735_GREENTAB, my issues went away. What is the meaning of GREENTAB, REDTAB, BLUETAB, and the various subvarients of those macros? I don't see anything specifically in this library so it is likely an underlying dependency, but it is important for the configuration here to work. Is there a basic concept I should understan with these macros? The biggest challenge is that I typically rip the protective film off the display right away and dispose of them. That colored label gets thrown out and there doesn't seem to be anything on the board or the documentation that would give me the proper indication... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a HiLetGo 128x128 ST7735 display that I am having alignment issues with and wonder what settings I should be looking at. My board is a SparkFun ESP32-WROOM Thing Plus C. The labels on the display were incredibly confusing (because they use I2Cish terms), but I have them wired to SPI like this:
Display ESP32
LED -> 3v3
SCK -> SCK (GPIO18)
SDA -> MOSI (SPIO23)
AO -> GPIO14
Reset -> 3v3
CS -> GPIO22
GND -> GND
VCC -> 3v3
My sketch just prints Hello World after initializing the display.
tft.init(); tft.setRotation(1); tft.fillScreen(TFT_BLACK); tft.setCursor(0,0,2); tft.setTextColor(TFT_WHITE); tft.println ("Hello World!");
If I define the screen as 128x128, the H is clipped off the left side of the screen and there is a white line down the right side and there is a line of random colors on the bottom of the screen.
If I define the screen as 128x160, the bottom noise goes away, but the text clipping and white line down the right are still there.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions