this is the code im using in my basic stamp:
' {$STAMP BS2sx}
pin CON 16 baud CON 16468
inicio: IF IN8 THEN mensaje GOTO inicio
mensaje: SEROUT pin,baud,["9"] GOTO inicio
From: slimboyfatboyslim slimboyfatboyslim@slimboyfatboyslim.org To: PD-list@iem.at Subject: Fwd: [PD] comport2000 problem Date: Sun, 18 Jul 2004 07:27:23 +0800
¶}©lÂà±H¶l¥ó¡G
±H¥ó¤H: slimboyfatboyslim slimboyfatboyslim@slimboyfatboyslim.org ¤é´Á: 18 July 2004 7:26:44 AM GMT+08:00 ¦¬¥ó¤H: "siggmuss" siggmus@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@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