PDA

View Full Version : Serout Command question.



Marc Schneider
04-11-2007, 12:24 AM
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.

Thanks

Mike Green
04-11-2007, 12:28 AM
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).