Pins needed for touchscreen

Hi all.

This is a two part question from another question on another section. Linkie here

I have a Mega board and an unknown brand 3.6" touchscreen. I would like to know if anyone ca help me with what pins are used for these screens as there is a full set of male pins on the bottom of the shield and its eating up all of my space and I cannot imagine its using all of them. I can’t quite see where the PCB tracks run so not sure which goes to which.

I’m guessing there is something in the libraries that would say the pins that are in use but I can decipher it.

I am using the following settings.

#include <UTFT.h>
#include <UTouch.h>

#define SD_CHIP_SELECT  53

UTFT myGLCD(ILI9327, 38, 39, 40, 41);          //Screen initialization
UTouch myTouch(6, 5, 4, 3, 2);                 //Touch initialization
UTFT_Buttons  myButtons(&myGLCD, &myTouch);
UTFT_SdRaw myFiles(&myGLCD);

myGLCD.InitLCD(LANDSCAPE);                   // Initialize the display
myGLCD.clrScr();                             // Clear the screen (black)
myTouch.InitTouch(LANDSCAPE);
myTouch.setPrecision(PREC_MEDIUM);
sd.begin(SD_CHIP_SELECT, SPI_QUARTER_SPEED); // Initialize the SD card

I look forward to your help.

Thanks,
Steve

I think its these: UTFT myGLCD(ILI9327, 38, 39, 40, 41); //Screen initialization UTouch myTouch(6, 5, 4, 3, 2);

It looks like ILI9327 has 16-bits data-bus, so it requires: from 22 to 37 (all), and 2 - 6, 38 - 41.

Wow!! That many!! Jeez. Thank you.