Product Link: | http://www.adafruit.com/products/376 |
Libraries: |
TFT: install both https://github.com/adafruit/TFTLCD-Library and https://github.com/adafruit/Adafruit-GFX-Library Touch: https://github.com/adafruit/Touch-Screen-Library |
Tutorial: | http://learn.adafruit.com/2-8-tft-touch-shield |
#define USE_ADAFRUIT_SHIELD_PINOUT
The 2.8" TFT Touch Shield is then fully compatible with the following boards:
- Arduino Uno (all revisions)
- Arduino Duemilanove and Diecimila w/ATmega328 chip
- Adafruit Menta
Incompatible or Partially-Compatible Boards
This shield may work with other boards with some additional steps:#define SOFTWARE_SPI
#define MEGA_SOFT_SPI 0
#define MEGA_SOFT_SPI 1
If your board already has a capacitor here, no modification is needed; it’s ready to go.
Pin Reference
The shield uses the following pins:- +5V
- GND
- Digital pins 4, 6–11, 13 (communication with TFT and SD card, touchscreen)
- Digital pin 5 (SD card select)
- Digital pin 12 (SD card communication)
- Analog pins A0-A3 (TFT control lines, touchscreen)
Untested Boards and Other Notes
Arduino Mega 1280: compatibility should be similar to the Mega 2560; MEGA_SOFT_SPI must be set in the SD library to use the SD card.Arduino NG or older: simple graphics-only sketches may work, but code accessing the SD card is too large for the available program space on these boards.
If experiencing trouble with a board listed as “compatible,” review the introduction for tips and visit the Adafruit Forums for assistance.