MCUFRIEND_kbv Library and ILI9225


ILI9225 is among the listed drivers of MCUFRIEND_kbv Library, but diagnose_TFT_support.ino does not detect my screen.
Does anybody know why?

(I of course uncommented "#define SUPPORT_9225" in ILI9225 in MCUFRIEND_kbv.cpp )

diagnose_TFT_support.ino 's output is:

There are FAQs in extras/mcufriend_how_to.txt

tft.readID() finds: ID = 0x0

MCUFRIEND_kbv version: 2.9.9
This ID is not supported
look up ID in extras/mcufriend_how_to.txt
you may need to edit MCUFRIEND_kbv.cpp
to enable support for this ID
e.g. #define SUPPORT_8347D

New controllers appear on Ebay often
If your ID is not supported
run LCD_ID_readreg.ino from examples/
Copy-Paste the output from the Serial Terminal
to a message in Displays topic on Arduino Forum
or to Issues on GitHub

Note that OPEN-SMART boards have diff pinout
Edit the pin defines in LCD_ID_readreg to match
Edit mcufiend_shield.h for USE_SPECIAL
Edit mcufiend_special.h for USE_OPENSMART_SHIELD_PINOUT

My config:

  • Linux Mint 19
  • Arduino IDE 1.8.12
  • Arduino Nano Atmega 328p
  • ILI9225 2.2' 176x220 pixels TFT screen

Please post a link to the actual screen that you have bought. e.g. Ebay sale page.


Hello David.

Here it is:

From your link:

HiLetgo 2.2 inch ILI9225 SPI TFT LCD Display

You need an SPI library like TFT_22_ILI9225

MCUFRIEND_kbv is for Parallel TFT displays.
I have an SPI library that supports your display but it is not available from the Library Manager.


Thank you David. I haddn’t noticed that MCUFRIEND_kbv was restricted to parallel. Sorry.

I already use TFT_22_ILI9225 (in fact ILI9225_due). The reason for my post is that I was looking for a solution to adapt my screen to GUIslice. It seems possible through ILI9225_due , but using MCUFRIEND_kbv would have been quicker ans easyer if it had been possible…

Be realistic. Your SPI ILI9925 does not have a Touch Panel.

My Parallel ILI9225 display does have a Touch Panel (and is 3.3V only)
I have made an Adapter shield that lets me use the parallel ILI9225 on a 3.3V Arduino.

If you are prepared to make your own Adapter shield, PM me.