SEROUT Code to Hyperterm
Archiver
Posts: 46,084
Hi,
I have a setup where there is a pin on the stamp, pin 8, that uses the
serout command. The command is supposed to send out a variable to
hyperterminal. However, this does not work. I get nothing in to
hyperterminal.
1. First off, is the baud rate 9600?
2. Second. . . what is the exact code I would use to send a variable
byte out of pin 8 so that hyperterminal can read and display it?
3. If I end up doing this wirelessly(TWS and RWS 434), should I still
send a synch and junk bit with the information if there is no stamp at
the other end?
Thanks a lot!
Corey C.
I have a setup where there is a pin on the stamp, pin 8, that uses the
serout command. The command is supposed to send out a variable to
hyperterminal. However, this does not work. I get nothing in to
hyperterminal.
1. First off, is the baud rate 9600?
2. Second. . . what is the exact code I would use to send a variable
byte out of pin 8 so that hyperterminal can read and display it?
3. If I end up doing this wirelessly(TWS and RWS 434), should I still
send a synch and junk bit with the information if there is no stamp at
the other end?
Thanks a lot!
Corey C.
Comments
serial cable.. Be sure Stamp Editor is turned off to free up Com1.
Sid
any querstions regardding communicating with Stamp from Hyperterminal let me
know.
Sid
Newzed@a...
Just fyi.
Matt klarich
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.
received all week[/font]
to be made to the serial cable. See the stamp manual under 'serout' for a
detailed explanation.
The second thing that may be giving you problems is that physically pin 8 is
actually P3 (I/O #3) as far as serout is concerned. See page 200 (v1.9) of
the stamp manual if you are confused by this.
Here is code that will send out data on pin 8 (P3) at 9600 N81:
byteMe var byte
byteMe = "A"
serout 3, 16468, [noparse][[/noparse]byteMe]
If you wanted to send data on P8 (physical pin # 13), use this code:
byteMe var byte
byteMe = "A"
serout 8, 16468, [noparse][[/noparse]byteMe]
Also, someone suggested using P16 (if you have the carrier board). This
might give you problems because of the stamp resetting itself with the ATN
line. You'll need to make modifications to the cable once again. See the
figure I-17 and the 'serin' command in the manual (v1.9) for the why's and
how-to's.
To answer your third question ... I have no clue, never used those devices..
--Craig
Original Message
From: the_coin_guy@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=XzlrJ7ymURsyg7VztSmK_xJe86eQH4kgu-8JM4zY-nwbfO6V73rspb_kF5dZ9i8CjfiK0lUO40l9_yo4]the_coin_guy@y...[/url
Sent: Saturday, March 31, 2001 6:46 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] SEROUT Code to Hyperterm
Hi,
I have a setup where there is a pin on the stamp, pin 8, that uses the
serout command. The command is supposed to send out a variable to
hyperterminal. However, this does not work. I get nothing in to
hyperterminal.
1. First off, is the baud rate 9600?
2. Second. . . what is the exact code I would use to send a variable
byte out of pin 8 so that hyperterminal can read and display it?
3. If I end up doing this wirelessly(TWS and RWS 434), should I still
send a synch and junk bit with the information if there is no stamp at
the other end?
Thanks a lot!
Corey C.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/