[A83] Re: lcd mem as ram


[Prev][Next][Index][Thread]

[A83] Re: lcd mem as ram




At 17:34 2002-01-04, you wrote:
>Then what is x-incrementing and y-incrementing?

when you write to the dataport, you can set the internal pointer to the lcd 
controller ram to either increase in x or y automaticly.
default in the tios is incrementing in x, so you have to write a command to 
the lcd to change line.
The fast screen update routines, like the one that comes with ION, set it 
to y-increment instead, then you write a column (or 8 columns, since you 
write bytes) before you have to change column, so you only have to do 12 
writes to the lcd command port to change column, instead of 64 writes to 
change line.
this, and that they have less delay between writes instead of the tios call 
to a delayroutine which is quite oversized, makes them a lot faster.
so x-incrementing and y-incrementing is only two different modes of the lcd 
controller that you can switch between by writing a certain command to the 
lcd controller.
did this answer your question?

///Olle





Follow-Ups: References: