$ show adafruit/Adafruit_ILI9341
Adafruit_ILI9341 is an Arduino library providing a driver for ILI9341-based TFT displays. It supports SPI (both hardware and software) and parallel interface modes, inheriting from the Adafruit_SPITFT base class for low-level communication. The core functionality includes display initialization via a PROGMEM command table, rotation, color inversion, scrolling, and address window setting with caching optimization. The library ships with a comprehensive set of examples covering graphics benchmarks, touch painting, Mandelbrot rendering, and embedded bitmaps. It is the de facto standard driver for Adafruit's 2.8" and 2.4" TFT displays.
The LLM identified 1 files worth highlighting for reuse:
Core driver implementation containing the initialization sequence (initcmd PROGMEM table), constructors for SPI and parallel interfaces, and optimized setAddrWindow() method that caches column/row addresses to reduce SPI traffic. Demonstrates a reusable pattern for display controller initialization using a compact command list in PROGMEM, and performance optimization in embedded environments by avoiding redundant register writes.