Adafruit ILI9341 Arduino Library

Build Status

This is a library for the Adafruit ILI9341 display products

This library works with the Adafruit 2.8” Touch Shield V2 (SPI)

Adafruit 2.4” TFT LCD with Touchscreen Breakout w/MicroSD Socket - ILI9341

2.8” TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

2.2” 18-bit color TFT LCD display with microSD card breakout - ILI9340

TFT FeatherWing - 2.4” 320x240 Touchscreen For All Feathers

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).

BMP image-loading examples have been moved to the Adafruit_ImageReader library: https://github.com/adafruit/Adafruit_ImageReader

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_ILI9341. Check that the Adafruit_ILI9341 folder contains Adafruit_ILI9341.cpp and Adafruit_ILI9341.

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

References

Used by

Environment Variables

  • TFT_CS_PIN

  • TFT_DC_PIN

  • TFT_RESET_PIN

SoC support

  • esp32

  • esp32c2

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

  • host

  • rp2040