ili9225

Can someone help me port this library?
stevestrong
Posts: 2070
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany
Contact:

Re: ili9225

Post by stevestrong » Wed Nov 29, 2017 9:47 am

rmdMoba wrote:
Wed Nov 29, 2017 9:14 am
I did some improvements to speed the lib up, but this is not complete so far, optimizing of drawing X-bitmaps and GFX fonts is still missing. But I think you can see the difference in speed. This is not STM32F1 specific, the speedup works with all supported platforms.
In which files did you make the changes for speed up?

rmdMoba
Posts: 19
Joined: Thu May 11, 2017 10:44 am
Location: Franconia, Germany

Re: ili9225

Post by rmdMoba » Wed Nov 29, 2017 10:07 am

The changes are in the src/TFT_22_ILI9225.h and src/TFT_22_ILI9225.cpp files. The speedup can be done mainly bei an efficient use oft the window function (with auto incrementing/decrementing pixel addresses) of the controller. But it is very inefficient if you use this function when drawing a single pixel.
So I deleted its use in the drawPixel function, and added it in drawCharacter and drawBitmap.

Post Reply