Shop OBEX P1 Docs P2 Docs Learn Events
Serout Command question. — Parallax Forums

Serout Command question.

Marc SchneiderMarc Schneider Posts: 5
edited 2007-04-10 16:28 in BASIC Stamp
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

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-10 16:28
    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).
Sign In or Register to comment.