View Full Version : Serout Command question.

Marc Schneider
04-10-2007, 11:24 PM
I currently have a thermocouple kit used in conjuntion with a 4X20 lerial lcd. Right now i am outputting " Temp C: XY" on line 1 and "Temp F: ZT" where xyzt are the temperatures. Right now everything is working except that each time a temperature changes, the whole readout scrolls throught and retypes each charachter. How do I go about just making the numbers change and keeping the words constantly there.


Mike Green
04-10-2007, 11:28 PM
Most serial LCDs have a command code that allows you to specify a position on the display (usually a row and column) for the next character to display. You will need to send the LCD that command and the position of the XY or ZT on the display, then just output the number. If the number of digits can vary, you may need to follow the last digit with one or two spaces to "blank out" any extra digits (like if you output 9 when the display previously showed 10).