Results 1 to 1 of 1
Hi,
I am working on embedded linux, through one of serial ports i have connected Serial LCD (16x2)
i am writting data to it by write command.
char ch[5] = ...
- 07-22-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 16
clearing serial display
Hi,
I am working on embedded linux, through one of serial ports i have connected Serial LCD (16x2)
i am writting data to it by write command.
char ch[5] = "john";
write(serial_fd,ch,sizeof(ch))
it is displaying the text properly.
The issue is to clear the lcd i have to pass 0xC(hex) command to it.
here i ma doing like this
char ch1 = 0x0C;
write(serial_fd,ch1,sizeof(ch1));
but here it is not clearing.
Kindly any one resolve this issue.
Thanks in advance
John


Reply With Quote
