Thank you for the response i've tried the way you told but it doesn't worked on that way..
so i placed the touchscreen on the mega and I go from the pins you told to the other pins but my old pins (10-13) are also connected with the mega do i need to put all on a breadboard and test it without those pins connected or should it work also on my method ?
johnwasser:
Several of the devices use the hardware SPI interface. On the Mega the SPI pins are 50-53 instead of 10-13.UNO Mega
Default SS 10 53
MOSI 11 50
MISO 12 51
SCK 13 52You will probably have to at least cut pins 11, 12, and 13 and jumper those to 50, 51, and 52 respectively. Set pinMode(53, OUTPUT). That may be enough if the library you use doesn't play special tricks when it is compiled for the Mega.