With this new version of SerialGLCD library, is possible to write raster characters, and draw images in horizontal and vertical position, in a 160x128 size Display.
All new C code is located at the end of main file, in order to facilitate identify what is new, and what not. It is separated by many lines.
Description of main new functions:
Draw_BMP_Ram(). this is the main new function. It is very big and complicated. The reason is that display hardware is designed to be used in vertical position (I think), so it is very easy to draw in vertical direction, but difficult in a horizontal way.
print_char(). This function has been modified, in order to support this Display. It is easy to modify it to support both displays (160x128 and 128x64).
Draw_BMP_Progmem() is intended to display images stored in flash memory. It reads the image from flash memory, and then it use Draw_BMP_Ram() function to do it.
I have included a full example of using, at the end of main file.
Be the first to post a review of SerialGLCD Huge display 160x128!