Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Adafruit 2.2" TFT with SPI interface and microSD card holder
C++ Processing
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a library for the Adafruit 2.2" SPI display.
This library works with the Adafruit 2.2" TFT Breakout w/SD card
Check out the links above for our tutorials and wiring diagrams.
These displays use SPI to communicate, 3 or 4 pins are required
to interface (RST is optional).
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
MIT license, all text above must be included in any redistribution

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_HX8340B. Check that the Adafruit_HX8340B folder contains Adafruit_HX8340B.cpp and Adafruit_HX8340B.

Place the Adafruit_HX8340B library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE

Also requires the Adafruit_GFX library for Arduino.
Something went wrong with that request. Please try again.