Using a TFT 2.8" Display with Uno R3 and Mega 2560 R3


I have used the same code on both my Mega 2560 R3 and Uno R3 however, if you look at the images you can see my problem. For some reason despite using the same exact pins the display gets all wonky on the Mega. Do you guys think my board is somehow miss wired? I have no idea whats wrong with it. Maybe just a very subtle change on those pins I don’t know about?

I attached images as well as the code I used to test them.


mynumbcode.txt (10.9 KB)