mikemotors wrote:
I got the basic routines running after few hours, but now i'm strugling with a bigger problem. Found out that it's not wice to refresh whole screen all the time if only some areas of the screen has updated pixels (flashing screen).
I found some examples from other topics, screen plotting.. Should i use some kind of buffer which has the screen information on it and read and compare the bits directly from the ks0108 ram and update only needed information?
Yes, thats exactly how it should be done.
Have a look at the myLCD KS0108 driver for an optimized example of this.
_________________
myLCD - An LCD framebuffer library
(KS0108, PCD8544, SED1565, SED1335,
Nokia Colour LCD's, T6963C, TCP/IP, etc..)
http://mylcd.sourceforge.net/