Adafruit 2.8"TFT Capacative Touchscreen Only Displays White Screen on Mega 2560

I am trying to use an Adafruit 2.8" TFT capacative touch screen on an Arduino Mega 2560 but I cannot get it to display anything other than a white screen after uploading examples. The screen is good and works on an UNO R3 but uploading the same program to a Mega 2560 only displays a white screen. I know some of the pins are in different locations between the UNO and MEGA but any sort of pin config I try doesn’t work.

Following along on Adafruits website basically says plug it into the MEGA, download the libraries, and run the graphicstest example and it should work but it only displays a white screen. If I run the same example on the UNO it works fine.

I have already done all of my programming on an UNO R3 while waiting on my MEGA to come in so I would like to stay with the current libraries I have if at all possible. I am currently using:


I can probably manage to get my code working if I can figure out how to get my screen to display anything. If anyone can help me figure out how to get the graphicstest example working in the ILI9341 library I would greatly appreciate it.

Screen: 2.8 TFT Touch Shield for Arduino w/Capacitive Touch : ID 1947 : $44.95 : Adafruit Industries, Unique & fun DIY electronics and kits

I have been at this for the better part of 2 days with countless libraries and pin/parameter testing so I figure it would be easiest to just go back to basics and try to get an example program to run. Thanks for any assistance.

graphicstest.ino (9.56 KB)