PDA

View Full Version : Making the LCD display the DEBUG?



Steve-O
05-18-2005, 02:00 AM
Just wondering how you go about this

Newzed
05-18-2005, 02:06 AM
How do you go about what?????

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

Newzed@aol.com (mailto:Newzed@aol.com)
и

dandreae
05-18-2005, 02:13 AM
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,[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 (mailto:dandreae@parallax.com)
www.parallax.com (http://www.parallax.com)



Post Edited (Dave Andreae (Parallax)) : 5/17/2005 7:17:00 PM GMT

Chris Savage
05-18-2005, 02:14 AM
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 [ & ] 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 (mailto:csavage@parallax.com)

Steve-O
05-18-2005, 03:41 AM
Thanks guys...sorry about the lack of info...I hopped on here on my way out the door.

Steve

Andy Lindsay (Parallax)
05-18-2005, 04:24 AM
Go to the Parallax Serial LCD product page:

http://www.parallax.com/detail.asp?product_id=27976 (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) (http://www.parallax.com/dl/docs/prod/audiovis/SICSerialLcd.pdf)

It demonstrates several different ways of taking Debug Terminal informion and displaying it on the Parallax Serial LCD.

Steve-O
05-19-2005, 03:30 AM
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 Savage
05-19-2005, 05:17 AM
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 (mailto:csavage@parallax.com)