Jump to content


Touch screen demo doesn't work on Arduino Uno

  • Please log in to reply
3 replies to this topic

#1 justinlee76



  • Members
  • Pip
  • 2 posts

Posted 28 August 2016 - 10:01 PM

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'
  Error compiling.
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?

#2 youkee


    Advanced Member

  • Administrators
  • 237 posts

Posted 29 August 2016 - 08:40 AM

Hi, Please check the attachment and use the examples in the files.

Attached Files

#3 skier



  • Members
  • Pip
  • 1 posts

Posted 30 September 2016 - 05:54 PM

I'm also having problems with the Linksprite Maplin Touch LCD Shield. I tried the libraries in the Touchscreen.zip file mentioned along with all of the examples and none of them worked. Only the LCD backlight and white screen is displayed. The Arduino Uno board is okay, as are the connections, and I also believe the LCD Shield is okay, so am thinking there's a software timing issue and that this board isn't reliable with compiled code. If I upload the Paint program into the Arduino Uno, power off the board and shield for 10 minutes and power it on again I sometimes get the Paint program to display the screen with the palette but nothing else.


Has anyone had similar problems and can assist? I left a Support Ticket on Linksprites Support page a few days ago but have heard nothing.

#4 Welly



  • Members
  • Pip
  • 1 posts

Posted 19 November 2017 - 10:15 AM

Hi, Please check the attachment and use the examples in the files.

I bought the touch screen from Maplin and downloaded the zip library given in the quoted post but my Arduino IDE version 1.8.5 would not install the library and gives the message:


Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Uno"
Specified folder/zip file does not contain a valid library
I found a working library on a different website - I'm not sure I'm allowed to say which one here.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users