I have never used a GLCD before and my projects are getting complex enough that a simple character LCD and my old method of programming will no longer work for my wants.
I have a 128x64 GLCD with a S6B0108 controller and am looking for some example code to how to display to this lcd. After the basics are down I would like to understand how to handle 'viewports' as tvText calls them so I can update a specific part of the screen only (such as menu buttons so you can save space)
Currently I use the 'double buffering' method on ly character LCD but its way overkill. This is what I do:
I set up TWO arrays of Buff1 and buff2 and then I output the text to the array and some pointers to some changing data locations. I then have a screen_redraw flag that on updated data I re-draw the entire display. I use the second buffer to make the next screen sequence so the first buffer can continue to run its own contents and then I swap the memory locations of the two buffers and the new screen is updating.
So in short I need help on how to handle lcd's and graphics but beyond the very simple heres a box, now lets draw a circle tutorials. Any ideas?