basics of of bs2>bs2 serial communication
Archiver
Posts: 46,084
hi everybody.
I'm trying to set up a super-basic serial communication between two bs2.
I've connected pin 11 of the first stamp to pin 11 of the second stamp
the first stamp is running to following code >
here:
serout 11\11,16468,[noparse][[/noparse]65]
pause 100
goto here
the second stamp is running to following code >
my_var var byte
here:
serin 11\11,16468,[noparse][[/noparse]my_var]
debug my_var,cr
pause 100
goto here
I'm not getting any output in the debug window from my second stamp (which
is connected tot he pc via the serial cable)
I'm sure I'm doing something foolishly wrong, but I can't figure it out.
Any hints??
thanks!
I'm trying to set up a super-basic serial communication between two bs2.
I've connected pin 11 of the first stamp to pin 11 of the second stamp
the first stamp is running to following code >
here:
serout 11\11,16468,[noparse][[/noparse]65]
pause 100
goto here
the second stamp is running to following code >
my_var var byte
here:
serin 11\11,16468,[noparse][[/noparse]my_var]
debug my_var,cr
pause 100
goto here
I'm not getting any output in the debug window from my second stamp (which
is connected tot he pc via the serial cable)
I'm sure I'm doing something foolishly wrong, but I can't figure it out.
Any hints??
thanks!
Comments
don't use the \Fpin option in either code. That is for synchronous comm
only. Change your serout to serout 11,16468,... and the serin likewise.
Don
Original Message
From: "raoul vaneigem" <raoul@c...>
To: <basicstamps@yahoogroups.com>
Sent: Tuesday, May 07, 2002 9:45 PM
Subject: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
> hi everybody.
>
> I'm trying to set up a super-basic serial communication between two bs2.
>
> I've connected pin 11 of the first stamp to pin 11 of the second stamp
>
> the first stamp is running to following code >
>
> here:
> serout 11\11,16468,[noparse][[/noparse]65]
> pause 100
> goto here
>
>
> the second stamp is running to following code >
>
> my_var var byte
>
> here:
> serin 11\11,16468,[noparse][[/noparse]my_var]
> debug my_var,cr
> pause 100
> goto here
>
> I'm not getting any output in the debug window from my second stamp (which
> is connected tot he pc via the serial cable)
>
> I'm sure I'm doing something foolishly wrong, but I can't figure it out.
> Any hints??
>
> thanks!
>
>
> 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/
>
>
>
You asked my question! you are my heroe!!!
>From: "Don" <renegade.engineer@v...>
>Reply-To: basicstamps@yahoogroups.com
>To: <basicstamps@yahoogroups.com>
>Subject: Re: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
>Date: Tue, 7 May 2002 22:46:09 -0700
>
> You need to connect the ground pins of the two stamps as well. And
>don't use the \Fpin option in either code. That is for synchronous comm
>only. Change your serout to serout 11,16468,... and the serin likewise.
>Don
>
Original Message
>From: "raoul vaneigem" <raoul@c...>
>To: <basicstamps@yahoogroups.com>
>Sent: Tuesday, May 07, 2002 9:45 PM
>Subject: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
>
>
> > hi everybody.
> >
> > I'm trying to set up a super-basic serial communication between two bs2.
> >
> > I've connected pin 11 of the first stamp to pin 11 of the second stamp
> >
> > the first stamp is running to following code >
> >
> > here:
> > serout 11\11,16468,[noparse][[/noparse]65]
> > pause 100
> > goto here
> >
> >
> > the second stamp is running to following code >
> >
> > my_var var byte
> >
> > here:
> > serin 11\11,16468,[noparse][[/noparse]my_var]
> > debug my_var,cr
> > pause 100
> > goto here
> >
> > I'm not getting any output in the debug window from my second stamp
>(which
> > is connected tot he pc via the serial cable)
> >
> > I'm sure I'm doing something foolishly wrong, but I can't figure it out.
> > Any hints??
> >
> > thanks!
> >
> >
> > 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/
> >
> >
> >
>
>
>
>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/
>
>
_________________________________________________________________
MSN Photos es la manera m
Don
Original Message
From: "Adriana Ledesma" <hator36@h...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, May 08, 2002 7:23 AM
Subject: Re: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
> Don,
> You asked my question! you are my heroe!!!
>
>
> >From: "Don" <renegade.engineer@v...>
> >Reply-To: basicstamps@yahoogroups.com
> >To: <basicstamps@yahoogroups.com>
> >Subject: Re: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
> >Date: Tue, 7 May 2002 22:46:09 -0700
> >
> > You need to connect the ground pins of the two stamps as well. And
> >don't use the \Fpin option in either code. That is for synchronous comm
> >only. Change your serout to serout 11,16468,... and the serin likewise.
> >Don
> >
Original Message
> >From: "raoul vaneigem" <raoul@c...>
> >To: <basicstamps@yahoogroups.com>
> >Sent: Tuesday, May 07, 2002 9:45 PM
> >Subject: [noparse][[/noparse]basicstamps] basics of of bs2>bs2 serial communication
> >
> >
> > > hi everybody.
> > >
> > > I'm trying to set up a super-basic serial communication between two
bs2.
> > >
> > > I've connected pin 11 of the first stamp to pin 11 of the second stamp
> > >
> > > the first stamp is running to following code >
> > >
> > > here:
> > > serout 11\11,16468,[noparse][[/noparse]65]
> > > pause 100
> > > goto here
> > >
> > >
> > > the second stamp is running to following code >
> > >
> > > my_var var byte
> > >
> > > here:
> > > serin 11\11,16468,[noparse][[/noparse]my_var]
> > > debug my_var,cr
> > > pause 100
> > > goto here
> > >
> > > I'm not getting any output in the debug window from my second stamp
> >(which
> > > is connected tot he pc via the serial cable)
> > >
> > > I'm sure I'm doing something foolishly wrong, but I can't figure it
out.
> > > Any hints??
> > >
> > > thanks!
> > >
> > >
> > > 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/
> > >
> > >
> > >
> >
> >
> >
> >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/
> >
> >
>
>
>
>
> _________________________________________________________________
> MSN Photos es la manera m