Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - uart to lcd

(you are viewing a thread; or go back to list of threads)

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
Tue May 5 2015, 09:36:01
(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
Wed May 13 2015, 06:10:05, download attachment LCD Uart test.ld
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):