The Adafruit_GFX library for Arduino provides a common syntax and set of graphics functions for all of our LCD and OLED displays. This allows Arduino sketches to easily be adapted between display types with minimal fuss…and any new features, performance improvements and bug fixes will immediately apply across our complete offering of color displays.

The Adafruit_GFX library always works together with a second library provided for each specific display type — for example, the ST7735 1.8" color LCD requires installing both the Adafruit_GFX and Adafruit_ST7735 libraries. The following libraries now operate in this manner:

For information how to use and install libraries, see our tutorial!

The libraries are written in C++ for Arduino but could easily be ported to any microcontroller by rewriting the low-level pin access functions.

This guide was first published on Jul 29, 2012. It was last updated on Nov 19, 2018. This page (Overview) was last updated on May 04, 2015.