


Some displays, like MakerFocus’ 1.3” TFT, do not implement the CS pin. Most TFT displays tend to have an SPI interface, with some extra pins, as explained on the main page of this repo. The TFT boards I have encountered so far have had either Sitronix or Ilitek interfaces. Other libraries don’t include a canvas, but you can draw a filled rectangle over part of the screen and then draw on top of it, as shown in this example for the ILI9225. It doesn’t speed up the display, but it can simplify drawing a subset of the screen. Adafruits GFX library includes a Canvas class, which lets you update elements offscreen and then draw them. Therefore, it’s sometimes usefil to draw only part of the display at once. You can find the code examples at this link. Most libraries for color TFT displays implement the usual 24-bit RGB color space, where 0xFF0000 is red, 0x00FF00 is green, and 0x0000FF is blue.

TFT displays are high resolution and full color, unlike the OLED or ePaper displays mentioned in this repository.
Arduino tft display drivers#
There are a few common TFT display drivers on the electronics hobbyist market, and a handful of libraries that work with them. This project is maintained by tigoe TFT LCD Displays A collection of examples for driving displays from microcontrollers
