Datasheet
Graphics Library
We've written a full graphics library specifically for this display which will get you up and running quickly. The code is
written in C/C++ for Arduino but is easy to port to any microcontroller by rewritting the low level pin access functions.
The TFT LCD library is based off of the Adafruit GFX graphics core library. GFX has many ready to go functions that
should help you start out with your project. Its not exhaustive and we'll try to update it if we find a really useful function.
Right now it supports pixels, lines, rectangles, circles, round-rects, triangles and printing text as well as rotation.
Two libraries need to be downloaded and installed: first is the ST7735 library (https://adafru.it/aHm) (this contains the
low-level code specific to this device), and second is the Adafruit GFX Library (https://adafru.it/aJa) (which handles
graphics operations common to many displays we carry). Download both ZIP files, uncompress and rename the folders
to 'Adafruit_ST7735' and 'Adafruit_GFX' respectively, place them inside your Arduino libraries folder and restart the
Arduino IDE. If this is all unfamiliar, we have a tutorial introducing Arduino library concepts and
installation (https://adafru.it/aYG).
Check out the GFX tutorial for detailed information about what is supported and how to use it (https://adafru.it/aPx)!
© Adafruit Industries https://learn.adafruit.com/1-8-tft-display Page 31 of 36










