Skip to content

TFT Library

Lubomir Jagos edited this page Jun 27, 2016 · 1 revision

I got from eBay this cheap display and starts playing with it. Arduino contains in basic libraries TFT display library so I have implement it. There are many display, I used one on picture below, this display communicate over SPI.

tft display type

TFT library API: https://www.arduino.cc/en/Reference/TFTLibrary

tft display pallete

Commands are pretty straightforward. Instances of TFT display are created in memory so you are not limited to only one display. Demo which I used is just displaying basic geometries (rectangle, circle) and fill them with red color.

tft demo

This is running code.

tft code