Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/16/01 15:48
Read: times


 
#14159 - RE: Cursor Positioning
Hi!

Here is one of routines which I have been using for cursor's positioning for 4x20 characters display.

void GotoXY(char x, char y)
{
char addr;

switch (y) {
case 0:
addr = 0x80+x;
break;
case 1:
addr = 0xC0+x;
break;
case 2:
addr = 0x94+x;
break;
case 3:
addr = 0xD4+x;
break;
}
LcdCtrlRegister = addr;
LcdWait();
}

Regards,
Jacek

List of 4 messages in thread
TopicAuthorDate
Cursor Positioning            01/01/70 00:00      
RE: Cursor Positioning            01/01/70 00:00      
RE: Cursor Positioning            01/01/70 00:00      
RE: Cursor Positioning            01/01/70 00:00      

Back to Subject List