I currently have a 3.5" 320x480 TFT ili 9486 display working like a charm with my MEGA. i am so pleased with this combination that i ordered another pair. i made sure the display was an ili 9486, and had the same pinout on the shield. the shield looks just like the other one. it says compatible with UTFT/UTFT_Buttons/UTouch Library for Arduino.
they came in, so i decided to test the new display first with a known good configuration. I had my original setup running. i powered down, unplugged the known good display/shield from the known good MEGA. i plugged the new display/shield in, and powered up and re up-loaded. the familiar screen appeared and everything was working normally (numbers updating, etc), until i tried to use a touch screen button. there was no response at all.
So i powered down, plugged in the original display/shield back into the original MEGA, up-loaded, and everything was back working, including the screen buttons.
I plugged the new display into the new MEGA and uploaded. As with the other MEGA, the numbers update, but the screen buttons don't respond.
I decided that, despite the displays and shields looking alike, i was going to have to calibrate the new display, just as i had done with the original setup. So first I went to Examples and loaded MCUFRIEND_kbv/graphictest_kbv, and it works.
Next i loaded diagnose_Touchpins. it seemed to run and i got this on the monitor :
Making all control and bus pins INPUT_PULLUP
Typical 30k Analog pullup with corresponding pin
would read low when digital is written LOW
e.g. reads ~25 for 300R X direction
e.g. reads ~30 for 500R Y direction
Next i loaded Touch_shield_new, and it seemed to work, but the exit button would not respond. it said to Calibrate. So i loaded TouchScreen_Calibr_native. It says BROKEN TOUCHSCREEN on the monitor and on the display. unresponsive to touch.
Am i just not setting something right or is it a bad display ?
How can i further check it ?