[PD] comport2000 problem
siggmuss
siggmus at fastmail.fm
Sun Jul 18 13:38:48 CEST 2004
In pbasic (basic stamp programming language) 16468 means:
9600 bauds, 8 bits, non parity bit, inverted.
On Sun, 18 Jul 2004 10:39:24 +0200, "cyrille henry"
<cyrille.henry at la-kitchen.fr> said:
>
>
> siggmuss wrote:
>
> > this is the code im using in my basic stamp:
> >
> > ' {$STAMP BS2sx}
> >
> > pin CON 16
> > baud CON 16468
>
> I never used basic stamp, but if 16468 is the bit rate of the serial
> connection, then it's the problem.
> 16468 is not standart (a computer is not able to receive value at
> 16468bps): try with standart value like 9600 ... 115200, and configure
> the same value on the computer and on the basic stamp.
>
> The problem you have is that the 2 serial port (basic stamp and
> computer) are not at the same baud rate.
>
> hope that help
> Cyrille
>
> >
> > inicio:
> > IF IN8 THEN mensaje
> > GOTO inicio
> >
> > mensaje:
> > SEROUT pin,baud,["9"]
> > GOTO inicio
> >
> >
> >
> >
> >>From: slimboyfatboyslim <slimboyfatboyslim at slimboyfatboyslim.org>
> >>To: PD-list at iem.at
> >>Subject: Fwd: [PD] comport2000 problem
> >>Date: Sun, 18 Jul 2004 07:27:23 +0800
> >>
> >>
> >>
> >>¶}©lÂà±H¶l¥ó¡G
> >>
> >>
> >>>±H¥ó¤H: slimboyfatboyslim <slimboyfatboyslim at slimboyfatboyslim.org>
> >>>¤é´Á: 18 July 2004 7:26:44 AM GMT+08:00
> >>>¦¬¥ó¤H: "siggmuss" <siggmus at fastmail.fm>
> >>>¼ÐÃD: Re: [PD] comport2000 problem
> >>>
> >>>©ó 18 Jul 04 6:13 AM ®É¡Asiggmuss ´£¨ì¡G
> >>>
> >>>
> >>>>hello list
> >>>>
> >>>>everytime a create the comport object it appears the following
> >>>>message:
> >>>>
> >>>>RXERRORS on serial line.......
> >>>>
> >>>>im sending numbers from a basic stamp 2 sx microcontroler to a
> >>>>comport
> >>>>object in pd.
> >>>>I recieve wierd numbers.
> >>>>if i send "9 " from my microcontroller i receive in pd : 228, 228,
> >>>>228,
> >>>>246, 246, 246, 246, 228, 228, 228 , 228, 228, 246, 246, etc
> >>>>
> >>>>if i send "44" i receive : 52, 253, 52, 253, 52, 253, 36, 253, etc
> >>>>
> >>>>if i send "i", i receive : 232, 234, 350, 248, 232, 232, 234, etc
> >>>>
> >>>>...do anybody know why?
> >>>>
> >>>>how can i fix this ?
> >>>>i want to receive the same values im sending from my
> >>>>microcontrollers
> >>>>
> >>>>thanx in advance
> >>>>
> >>>>siggmus
> >>>>
> >>>>_______________________________________________
> >>>>PD-list mailing list
> >>>>PD-list at iem.at
> >>>>to manage your subscription (including un-subscription) see
> >>>>http://iem.at/cgi-bin/mailman/listinfo/pd-list
> >>>>
> >>>
> >>>are you sending byte/word/nib from BS?
> >>>
> >>>you should only send byte value from BS
> >>>
> >>>
> >>>
> >>>slimboyfatboyslim
> >>>http://www.slimboyfatboyslim.org
> >>>
> >>
> >>slimboyfatboyslim
> >>http://www.slimboyfatboyslim.org
> >>
> >
> >
> > _______________________________________________
> > PD-list mailing list
> > PD-list at iem.at
> > to manage your subscription (including un-subscription) see
> > http://iem.at/cgi-bin/mailman/listinfo/pd-list
> >
> >
More information about the Pd-list
mailing list