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
·· 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
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.
·· 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
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a bezel for your LCD?
Newzed@aol.com
·
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
·· 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
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.
·· 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