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 - WRITE THO VARIABLES IN SERIAL LCD

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

WRITE THO VARIABLES IN SERIAL LCD (by ROGERIO FRANCISCO)
Please, how cai i do to write TWO viariables one in each line in a SERIAL LCD.
Sat Jan 29 2011, 11:45:44
(no subject) (by Max)
Hi,

you just have to play with the \n\r at the end of the instruction

ex

variable 1 on line 1 [var1=\3]
variable 2 on line 1 [var2=\3\r\n]
variable 3 on line 2 [var3=\3]
variable 4 on line 2 [var4=\4\r\n]

\n = new line or (next line)
\r = cariage return or (return to beginning of the line)

you may want to add space before or after your instruction to center your text on the LCD

ex
variable 1 on line 1 [var1=\3]
variable 2 on line 1 [var2=\3\r\n]
=

var1=xxxvar2=xxx



and if you add space

ex
variable 1 on line 1 [var1=\3 ]
variable 2 on line 1 [var2=\3\r\n]
=

var1=xxx var2=xxx

hope this help,
Sat Jan 29 2011, 13:09:05
WRITE TWO VARIABLES IN SERIAL LCD (by ROGERIO FRANCISCO)
Thank you for the momente, i´m gonna try it.
Sat Jan 29 2011, 19:53:26
(no subject) (by Magno Medeiros (Brasil))
Hello Max, I also have doubts about the use of serial LCD actually still can not understand these instructions ldmicro. possible would you post an example in ldmicro, writing in LCD "good day". thanks for any help.
Wed Oct 24 2012, 13:01:50
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):