Data Sheet
Resistive Touchscreen Paint Demo
The LCD has a 2.8" 4-wire resistive touch screen glued onto it. You can use this for detecting finger-
presses, stylus', etc. Normally, you'll need 4 pins to talk to the touch panel but we decided to go all
snazzy and put a dedicated touch screen driver onto the shield. The driver shares the SPI pins with
the TFT and SD card, so only one extra pin is needed (digital #8) This allows you to query the
controller when you're ready to read touchscreen data, and saves 3 pins.
To control the touchscreen you'll need one more library (http://adafru.it/d4f) - the STMPE610
controller library which does all the low level chatting with the STMPE610 driver chip. Click below to
download and then install it as before.
Download the STMPE610 Library
http://adafru.it/d4g
Once you have the library installed, restart the IDE. Now from the examples->Adafruit_ILI9341
menu select touchpaint and upload it to your Arduino.
This page is for the Resistive Touch Screen version of the Shield!
© Adafruit Industries https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2 Page 18 of 31