Serial interface hyperterminal help again
Archiver
Posts: 46,084
hey guys
THANKS
IT HELPED
Now im trying to use a pause in there
If no action is taken from the serial then goto
no action found
''{$STAMP BS2}
'{$PBASIC 2.5}
y VAR Byte
x VAR Byte
Main:
SERIN 16,16468,2000 [noparse][[/noparse]dec x]
TOGGLE x
'DEBUGIN x
y=50
'y = y & $0F * 10
IF x<>50 THEN GOTO wrong
'x = x & $0F
DEBUG ? x, CR
IF x=y THEN GOTO new
new:
DEBUG "right anwser",CR
DEBUG "in decemial it is ", BIN x,CR
GOTO done
wrong:
DEBUG "wrong anwser", CR
GOTO main
done:
DEBUG "all done", CR
STOP
BUT no matter what i hit on the keyboard it doesnt read it in AT ALL
Is there another way to justify this with a different statement by a pause or
another way to put a serin statement in there so it will read ?
PS I got this serin from the stamp book with modifications
THanks
please write back asap
kg_mini1098@y...
Al Williams <alw@a...> wrote:
If I recall, sending a Control+L (decimal 12) will clear HyperTerminal's
screen.
Regards,
Al Williams
AWC
* Stamp Prototyping Board
http://www.awce.com/asp3.htm
Original Message
From: Newzed@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9hpbLHkDa6IWpKMe-u6ARIkqIkADsWlURoYcthaDRymXIjPGwczJuxjpMv4fPtn3Ed4zafuYUg]Newzed@a...[/url
Sent: Friday, April 09, 2004 12:25 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL
In a message dated 4/9/2004 1:22:05 PM Eastern Daylight Time,
jwilliams@p... writes:
> The easiest approach is to use DEBUG to send information to
> Hyperterminal, and DEBUGIN to receive it. If you do this, set
> HyperTerminal to 9600 baud, N81. It's easy, BASIC Stamp users do this
> all the time.
>
>
One thing about Hyperterminal - it does not recognize the "cls" command.
You
can not clear the screen - data just keeps scrolling forever. If you have a
problem let me know. I can send you a Hyper file designed for use with the
Stamp.
Sid Weaver
W4EKQ
Port Richey, FL
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of
the message will be ignored.
Yahoo! Groups Links
Thank you very much
Karen Ginsberg
kg_mini1098@y...
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
[noparse][[/noparse]Non-text portions of this message have been removed]
THANKS
IT HELPED
Now im trying to use a pause in there
If no action is taken from the serial then goto
no action found
''{$STAMP BS2}
'{$PBASIC 2.5}
y VAR Byte
x VAR Byte
Main:
SERIN 16,16468,2000 [noparse][[/noparse]dec x]
TOGGLE x
'DEBUGIN x
y=50
'y = y & $0F * 10
IF x<>50 THEN GOTO wrong
'x = x & $0F
DEBUG ? x, CR
IF x=y THEN GOTO new
new:
DEBUG "right anwser",CR
DEBUG "in decemial it is ", BIN x,CR
GOTO done
wrong:
DEBUG "wrong anwser", CR
GOTO main
done:
DEBUG "all done", CR
STOP
BUT no matter what i hit on the keyboard it doesnt read it in AT ALL
Is there another way to justify this with a different statement by a pause or
another way to put a serin statement in there so it will read ?
PS I got this serin from the stamp book with modifications
THanks
please write back asap
kg_mini1098@y...
Al Williams <alw@a...> wrote:
If I recall, sending a Control+L (decimal 12) will clear HyperTerminal's
screen.
Regards,
Al Williams
AWC
* Stamp Prototyping Board
http://www.awce.com/asp3.htm
Original Message
From: Newzed@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9hpbLHkDa6IWpKMe-u6ARIkqIkADsWlURoYcthaDRymXIjPGwczJuxjpMv4fPtn3Ed4zafuYUg]Newzed@a...[/url
Sent: Friday, April 09, 2004 12:25 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL
In a message dated 4/9/2004 1:22:05 PM Eastern Daylight Time,
jwilliams@p... writes:
> The easiest approach is to use DEBUG to send information to
> Hyperterminal, and DEBUGIN to receive it. If you do this, set
> HyperTerminal to 9600 baud, N81. It's easy, BASIC Stamp users do this
> all the time.
>
>
One thing about Hyperterminal - it does not recognize the "cls" command.
You
can not clear the screen - data just keeps scrolling forever. If you have a
problem let me know. I can send you a Hyper file designed for use with the
Stamp.
Sid Weaver
W4EKQ
Port Richey, FL
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of
the message will be ignored.
Yahoo! Groups Links
Thank you very much
Karen Ginsberg
kg_mini1098@y...
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
section).Also, I think the TOGGLE command is meant for the pin
numbers 0 - 15.
--- In basicstamps@yahoogroups.com, Karen Ginsberg <kg_mini1098@y...>
wrote:
> hey guys
> THANKS
> IT HELPED
> Now im trying to use a pause in there
> If no action is taken from the serial then goto
> no action found
>
>
> ''{$STAMP BS2}
> '{$PBASIC 2.5}
> y VAR Byte
> x VAR Byte
> Main:
> SERIN 16,16468,2000 [noparse][[/noparse]dec x]
> TOGGLE x
> 'DEBUGIN x
> y=50
> 'y = y & $0F * 10
> IF x<>50 THEN GOTO wrong
> 'x = x & $0F
> DEBUG ? x, CR
> IF x=y THEN GOTO new
> new:
> DEBUG "right anwser",CR
> DEBUG "in decemial it is ", BIN x,CR
> GOTO done
> wrong:
> DEBUG "wrong anwser", CR
> GOTO main
> done:
> DEBUG "all done", CR
> STOP
>
>
>
> BUT no matter what i hit on the keyboard it doesnt read it in AT ALL
> Is there another way to justify this with a different statement by
a pause or another way to put a serin statement in there so it will
read ?
>
> PS I got this serin from the stamp book with modifications
>
> THanks
> please write back asap
> kg_mini1098@y...
>
>
> Al Williams <alw@a...> wrote:
> If I recall, sending a Control+L (decimal 12) will clear
HyperTerminal's
> screen.
>
> Regards,
>
> Al Williams
> AWC
> * Stamp Prototyping Board
> http://www.awce.com/asp3.htm
>
>
>
>
>
Original Message
> From: Newzed@a... [noparse][[/noparse]mailto:Newzed@a...]
> Sent: Friday, April 09, 2004 12:25 PM
> To: basicstamps@yahoogroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL
>
>
> In a message dated 4/9/2004 1:22:05 PM Eastern Daylight Time,
> jwilliams@p... writes:
>
>
> > The easiest approach is to use DEBUG to send information to
> > Hyperterminal, and DEBUGIN to receive it. If you do this, set
> > HyperTerminal to 9600 baud, N81. It's easy, BASIC Stamp users do
this
> > all the time.
> >
> >
>
> One thing about Hyperterminal - it does not recognize the "cls"
command.
> You
> can not clear the screen - data just keeps scrolling forever. If
you have a
>
> problem let me know. I can send you a Hyper file designed for use
with the
> Stamp.
>
> Sid Weaver
> W4EKQ
> Port Richey, FL
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
> Thank you very much
>
> Karen Ginsberg
> kg_mini1098@y...
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
bet you have hardware handshaking on and since you are not supplying
handshaking, Hyperterminal is dutifully not sending what you type because it
perceives that the Stamp is not ready.
By the way, the program is a bit baroque, but the free terminal at
http://realterm.sourceforge.net has several useful features for debugging
stuff.
Regards,
Al Williams
AWC
*Easy RS232 Prototyping
http://www.awce.com/rs1.htm
Original Message
From: Karen Ginsberg [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=AzxLS_nHceGeg1CV186LtAMU3687Q6psWhy1FC9c-MQU8sTTfQYmwWA1kPwZ-IAZBr9897W-rt8k9zyTDG9-rA]kg_mini1098@y...[/url
Sent: Saturday, April 10, 2004 1:45 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL HELP AGAIN
hey guys
THANKS
IT HELPED
Now im trying to use a pause in there
If no action is taken from the serial then goto
no action found
''{$STAMP BS2}
'{$PBASIC 2.5}
y VAR Byte
x VAR Byte
Main:
SERIN 16,16468,2000 [noparse][[/noparse]dec x]
TOGGLE x
'DEBUGIN x
y=50
'y = y & $0F * 10
IF x<>50 THEN GOTO wrong
'x = x & $0F
DEBUG ? x, CR
IF x=y THEN GOTO new
new:
DEBUG "right anwser",CR
DEBUG "in decemial it is ", BIN x,CR
GOTO done
wrong:
DEBUG "wrong anwser", CR
GOTO main
done:
DEBUG "all done", CR
STOP
BUT no matter what i hit on the keyboard it doesnt read it in AT ALL Is
there another way to justify this with a different statement by a pause or
another way to put a serin statement in there so it will read ?
PS I got this serin from the stamp book with modifications
THanks
please write back asap
kg_mini1098@y...
Al Williams <alw@a...> wrote:
If I recall, sending a Control+L (decimal 12) will clear HyperTerminal's
screen.
Regards,
Al Williams
AWC
* Stamp Prototyping Board
http://www.awce.com/asp3.htm
Original Message
From: Newzed@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=GtHYyAyNk4wTW_CevU5zA30IQkhrUURNUGh9Q8117y8qv0R_-EgFKzD_2hdWrV7Hg5gteo9js3KS]Newzed@a...[/url
Sent: Friday, April 09, 2004 12:25 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL
In a message dated 4/9/2004 1:22:05 PM Eastern Daylight Time,
jwilliams@p... writes:
> The easiest approach is to use DEBUG to send information to
> Hyperterminal, and DEBUGIN to receive it. If you do this, set
> HyperTerminal to 9600 baud, N81. It's easy, BASIC Stamp users do this
> all the time.
>
>
One thing about Hyperterminal - it does not recognize the "cls" command. You
can not clear the screen - data just keeps scrolling forever. If you have a
problem let me know. I can send you a Hyper file designed for use with the
Stamp.
Sid Weaver
W4EKQ
Port Richey, FL
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to: basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
To UNSUBSCRIBE, just send mail to: basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
Thank you very much
Karen Ginsberg
kg_mini1098@y...
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
SERIN 16, 16468, 2000, No_Action, [noparse][[/noparse]DEC x]
With respect, your coding style is a bit sloppy and that will ultimately
get in the way as your programs get bigger. Let me suggest you read our
guide, "The Elements of PBASIC Style." It will give you ideas that will
help you write programs that are easier to understand and debug.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Karen Ginsberg [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ZVzfWgglnT7KupNwvDloh9-wtSrAVn8ZT5jglkVu3fRW_nuKBCgYM6YegwL6SUY6KLA4s2XmHvOlU94WdEA]kg_mini1098@y...[/url
Sent: Saturday, April 10, 2004 1:45 AM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] SERIAL INTERFACE HYPERTERMINAL HELP AGAIN
hey guys
THANKS
IT HELPED
Now im trying to use a pause in there
If no action is taken from the serial then goto
no action found
''{$STAMP BS2}
'{$PBASIC 2.5}
y VAR Byte
x VAR Byte
Main:
SERIN 16,16468,2000 [noparse][[/noparse]dec x]
TOGGLE x
'DEBUGIN x
y=50
'y = y & $0F * 10
IF x<>50 THEN GOTO wrong
'x = x & $0F
DEBUG ? x, CR
IF x=y THEN GOTO new
new:
DEBUG "right anwser",CR
DEBUG "in decemial it is ", BIN x,CR
GOTO done
wrong:
DEBUG "wrong anwser", CR
GOTO main
done:
DEBUG "all done", CR
STOP
BUT no matter what i hit on the keyboard it doesnt read it in AT ALL Is
there another way to justify this with a different statement by a pause
or another way to put a serin statement in there so it will read ?
PS I got this serin from the stamp book with modifications
THanks
please write back asap
kg_mini1098@y...