Library to drive an ILI9225 2.2" SPI TFT.
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) |