sumotoy / TFT_ST7735

A fast driver for ST7735 displays that works with Arduino's /All Teensy's/ESP8266/SPARK
69 stars 31 forks source link

Small issues with small red board on esp8266 #21

Closed RichyT closed 6 years ago

RichyT commented 6 years ago

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?)

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.

RichyT commented 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.

RichyT commented 6 years ago

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.

RichyT commented 6 years ago

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
    }