Reply by Meindert Sprang June 20, 20072007-06-20
"JY Kim" <jkim747.n0zpam@paran.com> wrote in message
news:2dvh735hor04iuibo2cu3n940jra8g1j5n@4ax.com...
> Hi. > > I have question on UART and LCD control. > I have somehow implemented UART function and it seems to works. > But there is a problem. odd character is printed other than I have > expected. > I tried to print "\r\nStart of Root\r\n\r\nEnd of Root\r\n" > But the following is printed > -- > &#4294967295;&#4294967295; > >  > Start of Root > }&#4294967295;&#4294967295; > >  > End of Root > p > -- > I have no idea why this happens.
That's because for the LCD, the \r and \n are just ASCII chars 13 and 10, and translate into what the datasheets lists in the character map. You have to write a function that parses such a string and translates the \r and \n into a control command to the LCD to move the current pointer to the desired postition. Meindert
Reply by JY Kim June 20, 20072007-06-20
Hi.

I have question on UART and LCD control.
I have somehow implemented UART function and it seems to works.
But there is a problem. odd character is printed other than I have
expected.
I tried to print "\r\nStart of  Root\r\n\r\nEnd of Root\r\n"
But the following is printed
--
&#4294967295;&#4294967295;


Start of Root
}&#4294967295;&#4294967295;


End of Root
p
--
I have no idea why this happens.

Another question is on LCD control.
I am using samsung 2410 which have LCD controller. Please explain me
some concept on controlling LCD with built-in LCD controller. 
I have examined the part of datasheet, but concept is not easy to
build.
Please answer.

Thanks.