Closed RichyT closed 6 years ago
Interesting bit of additional information. In the clock example, if I add in some commands to draw circles where the noise is at the side, it draws over the noise. If I make the commands be squares, the noise remains.
Just found the offset settings. I'll have a play with those tomorrow, I think that's the issue. I'll report back and hopefully we can close.
It might be worth forcing people to have a look in this file so they know these things are there to be edited. Just a suggestion.
That was it. I'll post my settings here in case it helps anyone else.
static const uint8_t TFT_ST7735_OFST[4][2] = {
{2,1},//rot 0 - x,y
{1,2},//rot 1 - x,y
{2,3},//rot 2 - x,y
{3,2} //rot 3 - x,y
}
Got the library working on my esp8266 with the small red board, thanks. Now have a few small issues to iron out.
Firstly, I have un-commented the line for the small red board in the settings file. This appears to have fixed one issue but now I am seeing others.
Running the clock example, the clock looks good but there are noisy pixels along two edges of the screen. The pixels run the length of the screen and appear to be two pixels thick.
Running the benchmark example, it appears to be broadly functional. However, there are the following issues. I am defining the bottom of the board to be where the header is located for all the following. (Note that I think this may be 180 degrees from how you have defined it?)
When the benchmark is running "up", there is noise on the top and the left
When rotated to the right, bits of the old screen are left on the top. Some of the drawing occurs off-screen (this doesn't occur in any other orientation). There is no noise around the drawn area,
When upside-down, noise is around the top and the left of the display
When rotated left, noise is visible on the top of the screen.
I hope this is clear enough. I can supply video if needed.
If an older version of the library is advised, please let me know.