Shop OBEX P1 Docs P2 Docs Learn Events
Displaying variables on an LCD0821 — Parallax Forums

Displaying variables on an LCD0821

Turnbull2112Turnbull2112 Posts: 65
edited 2011-02-15 14:48 in BASIC Stamp
I am trying to get a variable to show up on a Matrix Orbital LCD0821. For now just to get the idea, I want to display and rctime value next to a constant text. Example "RCTIME XXXX" XXXX would be the varying value and RCTIME would remain. So far I can write constants to the screen but i have to "clear screen" and re-write new constants. Anyone out there have any luck with this? I am in the middle of a project with a deadline and this is a major hangup for me at this point. I wouild appreciate any advice. I know I have to convert the value to ASCII and use the "place cursor" at a couple different points but I'm not grasping the concept.

_Rob

Comments

  • Clive WakehamClive Wakeham Posts: 152
    edited 2011-02-15 14:48
    The manual indicates that there are two commands, one being the back-space, and the other cursor back.

    If you make sure that the format for XXXX is exactly 4 characters then you could after displaying the first lot, that you move the cursor back four places and then update the XXXX
Sign In or Register to comment.