Shop OBEX P1 Docs P2 Docs Learn Events
Making the LCD display the DEBUG? — Parallax Forums

Making the LCD display the DEBUG?

Steve-OSteve-O Posts: 8
edited 2005-05-18 22:17 in BASIC Stamp
Just wondering how you go about this

Comments

  • NewzedNewzed Posts: 2,503
    edited 2005-05-17 19:06
    How do you go about what?????

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Need a bezel for your LCD?

    Newzed@aol.com
    ·
  • dandreaedandreae Posts: 1,375
    edited 2005-05-17 19:13
    Basically you take the variable that you are reading in the Debug terminal use the SEROUT command (provided you are using a serial LCD) to serout the variable on the LCD.· It's a simple code:

    x var byte

    X=65

    SEROUT 0,9600,[noparse][[/noparse]SDEC X]··· 'sending the value 65 to the LCD

    DEBUG DEC X,cr················ 'displaying 65 in the debug terminal

    Dave


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Tech Support
    dandreae@parallax.com
    www.parallax.com



    Post Edited (Dave Andreae (Parallax)) : 5/17/2005 7:17:00 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-05-17 19:14
    Steve,

    ·· Your post is rather cryptic, but if you have a Serial LCD Display, and you want to DEBUG to it, you simply SEROUT to the LCD pin the text/data you want.· You can use all the same formatters of the DEBUG command, however the one difference is SEROUT requires the [noparse][[/noparse] & ] around the data.· Otherwise they're virtually the same output formatting.· If you have a parallal LCD, it will be a bit more difficult, but can be done.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Steve-OSteve-O Posts: 8
    edited 2005-05-17 20:41
    Thanks guys...sorry about the lack of info...I hopped on here on my way out the door.

    Steve
  • edited 2005-05-17 21:24
    Go to the Parallax Serial LCD product page:

    http://www.parallax.com/detail.asp?product_id=27976

    Then, download and review this document (at the bottom of the page):

    Stamps in Class Serial LCD Tutorial (.pdf)

    It demonstrates several different ways of taking Debug Terminal informion and displaying it on the Parallax Serial LCD.
  • Steve-OSteve-O Posts: 8
    edited 2005-05-18 20:30
    I apologize for not mentioning this earlier, but I have a parallel LCD. It's the one that came in the StampWorks kit. Again thanks everyone for the help.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-05-18 22:17
    Steve,

    ·· You will have to write your own output routine and send text to it one character at a time.· There is circuit and code for this in the StampWorks manual, a free download in PDF format from our website.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.