uart to lcd (by Simon)
Hi, I have an lcd display from Digole its 4 x 20 and the baud default is 9600. I am having problems getting it to display text, when I adjust the baud it may either move the cursor or sometimes I can get it to display the odd character. I am using a 16f876a chip at 14.7456Mhz with a sample hello.ld as a test program. Has anyone had success with this display and if so could you please help me, many thanks
(no subject) (by Simon)
If anyone is struggling with an LCD from Digole this my help.
Type into the formatted string:-
x27CLCS0TP2\x27TTCount=\4 \x0D
x27 is to enable change
CL clear screen
CS0 cursor off
TP2 text position then a number
\x27TT text string
\4 this is for the variable
\x0D end the text command
This has worked for me there is probably a much better way of doing this as I am not a programmer just having fun.
Also I have attached a copy of my test program, I am struggling with position of the text on the LCD, for now I am using spaces in the text. I should be able to position the text with the TP x,y command, can anyone help?
Thanks Simon