send-receive with a terminal
Archiver
Posts: 46,084
I'm playing with talking to a BS2 through a terminal program.
So far, it seems to send and receive fine with serin and serout in my
program, both data and characters. One problem though, how do you
send/cause a carriage return and line feed on the terminal program?
Debug sends characters and data to the terminal fine also, but the CR
option symbol doesn't work.
So far, it seems to send and receive fine with serin and serout in my
program, both data and characters. One problem though, how do you
send/cause a carriage return and line feed on the terminal program?
Debug sends characters and data to the terminal fine also, but the CR
option symbol doesn't work.
Comments
But Thanks anyway!
Don
--- In basicstamps@y..., "mtlhead7" <renegade.engineer@v...> wrote:
> I'm playing with talking to a BS2 through a terminal program.
> So far, it seems to send and receive fine with serin and serout in
my
> program, both data and characters. One problem though, how do you
> send/cause a carriage return and line feed on the terminal
program?
> Debug sends characters and data to the terminal fine also, but the
CR
> option symbol doesn't work.
Most terminals don't recognize CR. If you look in your terminal program
setup somewhere you should find a "send line feed" option.
Sid Weaver
[noparse][[/noparse]Non-text portions of this message have been removed]
It is working now.
Thanks
Don
Original Message
From: <Newzed@a...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, May 06, 2002 1:09 PM
Subject: Re: [noparse][[/noparse]basicstamps] send-receive with a terminal
> For renegade
>
> Most terminals don't recognize CR. If you look in your terminal program
> setup somewhere you should find a "send line feed" option.
>
> Sid Weaver
>
>
> [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.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
terminal program with PC. one in qbasic and one in C,
(9600). I can't get it to continue. the basic one hits
a buffer over flow after the next loop, does read in
once. and the C can't even get to work. The Debug
program for stamp receives the serout from the stamp.
Could you direct me to the one you are using or post
it..
PC I'm using is 1.7Ghz with win98. I want to
basically hit keys to send command to stamp. And stamp
to send back data.
--- mtlhead7 <renegade.engineer@v...> wrote:
> I'm playing with talking to a BS2 through a
> terminal program.
> So far, it seems to send and receive fine with serin
> and serout in my
> program, both data and characters. One problem
> though, how do you
> send/cause a carriage return and line feed on the
> terminal program?
> Debug sends characters and data to the terminal fine
> also, but the CR
> option symbol doesn't work.
>
>
> 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.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
HyperACCESS, HyperTERMINAL's big brother. Both are available from
[url=Http://www.Hilgraeve.com]Http://www.Hilgraeve.com[/url]
HyperTERMINAL Personal Edition is a FREE upgrade to the standard
HyperTERMINAL that comes with Win98.
They also offer a fully functional trial copy of HyperACCESS,
though I believe it dies after 30 days.
Both seem to work fine. You have to set a parameter in the ASCII
receive properties that appends line feeds to incoming line ends.
Then all your ASCII control characters will work right.
Surprisingly, the DEBUG command writes to the terminal as well as
SEROUT.
For settings, I am using SERIN 16,16468 (uses programming pin on
BS2, with 9600 Baud, 8-bit, no parity, inverted polarity) and no flow
control on the terminal prog. I also slowed down the FIFO buffers to
minimum input and output. I don't know if it made a difference
though, because I never tried communicating with the buffers set
higher yet.
Hope this helps!!
Don
--- In basicstamps@y..., e d <cansunshine2000@y...> wrote:
> I'm trying to communicate with Bs2 through a small
> terminal program with PC. one in qbasic and one in C,
> (9600). I can't get it to continue. the basic one hits
> a buffer over flow after the next loop, does read in
> once. and the C can't even get to work. The Debug
> program for stamp receives the serout from the stamp.
> Could you direct me to the one you are using or post
> it..
> PC I'm using is 1.7Ghz with win98. I want to
> basically hit keys to send command to stamp. And stamp
> to send back data.
>
> --- mtlhead7 <renegade.engineer@v...> wrote:
> > I'm playing with talking to a BS2 through a
> > terminal program.
> > So far, it seems to send and receive fine with serin
> > and serout in my
> > program, both data and characters. One problem
> > though, how do you
> > send/cause a carriage return and line feed on the
> > terminal program?
> > Debug sends characters and data to the terminal fine
> > also, but the CR
> > option symbol doesn't work.
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@y...
> > from the same email address that you subscribed.
> > Text in the Subject and Body of the message will be
> > ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
Did you know that you can use Hyper to capture data from the Stamp and then
send it to Word or Excel for formatting, spreadsheeting or whatever ?
When you are displaying data from Stamp on the Hyper screen, it's nice to be
able to control exactly when the Stamp starts transmitting. I always use the
following lines at the very beginning of my programs so I have complete
control over the Stamp.
serout 16, N9600, [noparse][[/noparse]"Press any key to start", cr]
serin 16, N9600, [noparse][[/noparse]com]
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]