Personal Mirror
Go to file
Kristian Nielsen 81b97a25b9 Use 9-bit hardware SPI for ST7787 SetAddrWindow() 2017-08-01 13:15:50 +02:00
Fonts First draft release 2017-02-22 03:07:17 +00:00
TFT_Drivers Mandelbrot example works now. 2017-08-01 13:14:10 +02:00
Tools Add RPi screen connection image 2017-04-23 20:30:04 +01:00
User_Setups Correct comment 2017-07-15 19:45:42 +01:00
examples Add jpeg examples for 160x128 display 2017-07-15 23:39:57 +01:00
.gitattributes Revert "Clear out attributes" 2017-05-23 02:02:35 +01:00
.gitignore Use hardware 9-bit SPI to talk to ST7787 controller. 2017-08-01 13:15:50 +02:00
Keywords.txt Add SPI overlap support Issue #26 2017-07-15 18:44:49 +01:00
README.md Raise version number, update ReadMe 2017-07-15 19:29:13 +01:00
README.txt Raise version number, update ReadMe 2017-07-15 19:29:13 +01:00
TFT_eSPI.cpp Use 9-bit hardware SPI for ST7787 SetAddrWindow() 2017-08-01 13:15:50 +02:00
TFT_eSPI.h Use hardware 9-bit SPI to talk to ST7787 controller. 2017-08-01 13:15:50 +02:00
User_Setup.h Use hardware 9-bit SPI to talk to ST7787 controller. 2017-08-01 13:15:50 +02:00
User_Setup_Select.h Very first step, talking successfully to ST7787 2017-08-01 13:14:10 +02:00
library.json Raise version number, update ReadMe 2017-07-15 19:29:13 +01:00
library.properties Raise version number, update ReadMe 2017-07-15 19:29:13 +01:00

README.md

TFT_eSPI

An Arduino IDE compatible graphics and fonts library for ESP8266 and ESP32 processors with a driver for ILI9341, ILI9163, ST7735 and S6D02A1 based TFT displays that support SPI.

The library also supports TFT displays designed for the Raspberry Pi that are based on a ILI9486 driver chip with a 480 x 320 pixel screen. This display must be of the Waveshare design and use a 16 bit serial interface based on the 74HC04, 74HC4040 and 2 x 74HC4094 logic chips. A modification to these displays is possible (see mod image in Tools folder) to make many graphics functions much faster (e.g. 23ms to clear the screen, 1.2ms to draw a 72 pixel high numeral).

The library supports SPI overlap so the TFT screen can share MOSI, MISO and SCLK pins with the program FLASH.

The library contains proportional fonts, different sizes can be enabled/disabled at compile time to optimise the use of FLASH memory. The library has been tested with the NodeMCU (ESP8266 based) and an ESP32 demo board.

The library is based on the Adafruit GFX and Adafruit driver libraries and the aim is to retain compatibility. Significant additions have been made to the library to boost the speed for ESP8266/ESP32 processors (it is typically 3 to 10 times faster) and to add new features. The new graphics functions include different size proportional fonts and formatting features. There are a significant number of example sketches to demonstrate the different features.

Configuration of the library font selections, pins used to interface with the TFT and other features is made by editting the User_Setup.h file in the library folder. Fonts and features can easily be disabled by commenting out lines.