Fork that adds ESP8266 support and a few performance optimisations.
Arduino C++
Pull request Compare This branch is 3 commits ahead, 12 commits behind adafruit:master.
Latest commit 51dddbd May 17, 2015 @nzmichaelh lcd: use writePattern for faster erases and lines.
The ESP8266 SPI implementation has a 'writePattern' function that
writes a repeating sequence (in this case a solid colour) to the SPI
port.  This fills up the FIFO and increases the bus utilisation.

Using this for clearing the screen cuts the demo run time from 4721 ms
to 3601 ms.  Also using this for the fast lines cuts the run time to
3424 ms.

Signed-off-by: Michael Hope <>


This is a library for the Adafruit 1.8" SPI display.
This library works with the Adafruit 1.8" TFT Breakout w/SD card
The 1.8" TFT shield
The 1.44" TFT breakout
as well as Adafruit raw 1.8" TFT display

Check out the links above for our tutorials and wiring diagrams.
These displays use SPI to communicate, 4 or 5 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_ST7735. Check that the Adafruit_ST7735 folder contains Adafruit_ST7735.cpp and Adafruit_ST7735.

Place the Adafruit_ST7735 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.