Mega2560 + 3.2" TFT + TFT Shield - Keeps blinking

This is my first experience with this type of programming and processing.

I recently purchased these on Amazon at (link to company selling counterfeit boards removed by moderator). I received the boards, but am having many troubles getting it to work. I have tried to pin directly to the board and bypass the shield with same results. When running the UTFT example UTFT_Demo_320X240 on IDE 1.0.5, it can’t draw a line and just keeps blinking. I can write my own code that draws rectangles, strings etc without issue, but when I add myGLCD.drawLine(x, y, x1, y1), it just starts blinking. The odd thing about this, I can use an old version of the library (ITDB02) and can use the drawLine function without issue. But, with that version I can’t use fillCircle(), it starts blinking again.

Here is what I am using for the pin assignments:
UTFT myGLCD(SSD1289,38,39,40,41);

I have also tried the driver ITDB32S with the same result.

Has anyone experienced this or have knowledge about how to solve the problem?

Welcome to the world of GLCD... and it is not really pretty.

There seems to be bunches of these things out there, mine is 2 years old and is no longer supported (or sold.) Henning Karlsen wrote and has evolved his libraries over time and some display board manufacturers have further modified his work so that there are old versions, new versions, and unsupported versions. It is a nightmare.

If you have the time and the documentation for your GLCD, you should be able to modify your code to fit into the newest library available: Electronics - Henning Karlsen

I was fortunate that I was able to find on my home server the old libraries for my 3.2 inch display shield. Over time, I worked through the issues but my shield is different from yours, so no help, I regret.

My next purchase will come from Adafruit simply because I trust them to keep the driver libraries updated or just backward compatible.

Ray