Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: ILI9225_TFT_Sample
Homepage
ILI9225 SPI TFT Library¶
This library works with the ILI9225 based 2.2" 176x220 TFT LCD shields commonly found on eBay. Note that there is a commonly available 2.2" 240x320 TFT module very similar in appearance but using the ILI9341 driver. (Only the main Buffer IC and I/O pins are different)
Wiring guide :
| mbed board | LCD board |
|---|---|
| + 3,3V or +5V | VCC |
| GND | GND |
| GPIO_PIN | RST (Reset pin) |
| GPIO_PIN | RS [Command (RS=0)/ Parameter (RS=1)] |
| GPIO_PIN or GND | CS (Chip selection pin) |
| SPI_MOSI | SDI (Serial data input ) |
| SPI_SCK | CLK (Reference clock) |
| GPIO_PIN or PWM or VCC | LED (Backlit) |