Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By aeropic
#39889 Hi Sumotoy and all,

I'm very new to ESP8266 and 128x128 TFT but I must thank you for this great library as the TFT worked perfectly well after the first try.
I coded a simple analog+digital clock connected to NTP to synchronize and to wunderground to collect the outside temperature, and here is the result:
Image

Very proud with this result :roll: I decided to buy another red PCB TFT and a problem occured.
With the same pinout, same ESP, same program inside I get a poor result with a fully badly synchronized screen.
(the vertical rectangles are nominal, they are randomly displayed in my program...)

Image

If I carefully check the 2 TFT they are not fully identical even if the printed reference is the same: "1.44' SPI 128x128 V1.1".
There is also a small difference is the color of the PCB, the defective one (on top of the picture) is a bit more orange than red...
Image

Do you think I've got a faulty device or is there something to tune in the library parameters ?

Many thanks in advance
Alain
User avatar
By aeropic
#39958 I eventually made it work... It was as simple as declaring it as BLACK_PCB in the settings file:

#define __144_BLACK_PCB__//128x128

So to sum up, those nearly RED, somewhat ORANGE LCD is rather a BLACK one :lol:

But it works !!!

Many thanks for the library again
Alain