Hi Paul
Thanks for the reply. Its a TFT shield and screen kit I bought as a combo some time ago for a project I have only just started.
The screen is an ITDB02-3.2 which has an attached SD card read and the shield is the ITDB02 Mega shield v1.1
Link to TFT and SD reader http://imall.iteadstudio.com/im120419005.html
Using it on an Arduino mega 2560
Compiling on a mac and the only section of the code I believe is relevant follows. The code is huge but none of it refers to the pin setups.
The SD card is a 2GB non SDHC and formatted to FAT16 with several raw files on it for the screens
///Code written by Steve Heitman
///based off original code written by
///Nick Devan - Touch screen navagation code
///benjaf @ Github&theplantedtank - sunrise/sunset code
//################# REVISION 5.5
//*******Included Libraries*******//
#include <UTouch.h>
#include <avr/pgmspace.h>
#include <UTFT.h>
#include <tinyFAT.h>
#include <UTFT_tinyFAT.h>
#include <EEPROM.h>
#include <RTClib.h>
#include <Wire.h>
#include <OneWire.h>
#include <DallasTemperature.h>
const int chipSelect = 53;
//******** Declare Touch/LCD/RTC **********
UTFTtf myGLCD(ITDB32S, 38, 39, 40, 41); //sets LCD pins - change to your screen pin-out and aspect
UTouch myTouch(6,5,4,3,2); //sets touch pins - change to your set up (default is usually 6,5,4,3,2)
RTC_DS1307 RTC;
//******** Call Fonts **********
extern uint8_t arial_bold[];
extern uint8_t Sinclair_S[];
extern uint8_t SevenSegmentFull[];
//******* Declare 1-Wire for TEMP sensors ********
#define ONE_WIRE_BUS 2 //sets sensor to pwm pin 2 - Change to your setup
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature tempsensors(&oneWire);
//DS18B20 sensor address' ******change these for your sensors*******
//link provided is a good sketch to get yours
//http://www.hacktronics.com/Tutorials/arduino-1-wire-address-finder.html
//I added this link because I found this to be a much easier sketch to use than the Dallas Multiple Example when
//trying to find Address'on a 1 wire bus.
DeviceAddress tankTemp = { 0x28, 0x09, 0xD3, 0x07, 0x04, 0x00, 0x00, 0x80 };
DeviceAddress sumpTemp = { 0x28, 0x48, 0x31, 0x2C, 0x04, 0x00, 0x00, 0x7F };
DeviceAddress rSinkTemp = {0x28, 0x00, 0x2D, 0x47, 0x04, 0x00, 0x00, 0xF2 };
DeviceAddress lSinkTemp = {0x28, 0x35, 0xF7, 0x2A, 0x04, 0x00, 0x00, 0x1A };
/code]