Hi Guys, as we know TFT01 series LCD modules are excellent products, they are designed easy achieved show character, pant screen, show picture, SD card, extern Flash and touch function. However, we just provided several demo for it until now, that can not meet the needs of Hobbyists.
There we found a very excellent and powerful enhance Graphic library which written by Henning Karlsen base on ITB02 TFT LCD module（Fully compatible with TFT01 LCD module and TFT01 Arduino Shield）. The library is quite a bit faster, and also include more functions.
We modified the initialization code and perfect running on TFT01 LCD module and TFT01 Arduino Shield. There are two Graphic library, one of ITDB02_Graph library which for 2.4″ 8 bit LCD module and another is ITDB02_Graph16 library for 3.2″ 16 bit LCD module.
First of all, let’s us look at the Graphic library demo show effect.
The graphic demo could be run with TFT01-2.4 , TFT01-3.2 and TFT01-3.2w module and LCD TFT01 Arduino Shield v1.0 and LCD TFT01 Arduino Mega Shield v1.0. We modified some of the Graphic library initialization code you can reference the post TFT01 LCD Drive Controller Initialization. And now, we could direct add the Graphic library to “arduino-0022\arduino-0022\libraries\” and import the library and run 6 different show effect demo.
When you init TFT01-3.2 or TFT01-3.2w LCD module, used ITDB02 myGLCD(38,39,40,41,0) for TFT01-3.2 or ITDB02 myGLCD(38,39,40,41,1) for TFT01-3.2w.
The other function is how to show a small picture and directly run into the RAM. First, you need to change the BMP or JPG image file to the array for you code, the array format is depend on the display method you used in your code. There Henning provide a tool could achieve Image Converter to 565 array. Reference the code from wiki and get the tool from here.
Download the Graphic Library:
Reference link from : http://www.henningkarlsen.com/electronics/library.php