I purchased the touch LCD shield from Maplin and attempted to compile the demo code shown on the support page for this product:
I first downloaded and imported the TFT and TouchScreen libraries for the Arduino from the following link at the bottom of this page:
I then get the following error when I try to compile the demo code:
TouchScreenDemo.ino: In function 'void initTouchScreenParameters()':
TouchScreenDemo.ino:71:10: error: 'class TFT' has no member named 'IC_CODE'
To work around this compilation error I tried replacing "Tft.IC_CODE == 0x5408" with "true" or "false". Replacing this condition with either of these values allows me to compile and upload the program to my Arduino Uno, but in both cases the screen remains white. How can I get this program to compile and work as demonstrated on your support page?