hyperterminal and reading a variable
shmow
Posts: 109
I've never used hyperterminal before, and I'm having a hard time reading the value in
a variable - sample program below:
Here's what I have done (and with no luck):
- downloaded·code to prop·(from forum - thanks)· http://forums.parallax.com/showthread.php?p=716483
- opened·hyperterminal on the same com port that was used to program prop
- configured hyperterminal baud rate to 9600
- pressed "Call" icon to connect to prop (through programming cable)
- screen doesn't change - just flashing cursor
Have I overlooked something or assumed incorrectly how to connect.
Any insights would really help.
a variable - sample program below:
CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 OBJ SER :"Fullduplexserial" pub start | TEMP_data temp_data := 100 SER.start(31, 30, 0, 9600) 'Sets up Com port for computer (Rxpin,TXpin,mode,baud) repeat waitcnt(100_000 * 20 + cnt) ser.tx(10) 'line feed ser.tx(13) 'carriage return ser.str(string("Results = ")) ser.dec(TEMP_data) 'display decimal value of temp ser.str(string("binary value is ")) ser.bin(TEMP_data,16) 'display binary value of temp ser.tx(13) 'line feed ser.tx(10)
Here's what I have done (and with no luck):
- downloaded·code to prop·(from forum - thanks)· http://forums.parallax.com/showthread.php?p=716483
- opened·hyperterminal on the same com port that was used to program prop
- configured hyperterminal baud rate to 9600
- pressed "Call" icon to connect to prop (through programming cable)
- screen doesn't change - just flashing cursor
Have I overlooked something or assumed incorrectly how to connect.
Any insights would really help.
Comments
Code looks OK.
Is this the right way to do this?
your code and it worked fine on a hyperterminal sessions. I suggest you
start a new hyperterminal connection with the following settings
Com port = 12·· ( assume· you havent changed it)
bits per second = 9600
data bits········· = 8
parity············· = none
stop·bits········· = 1
flow control····· = hardware
good luck....
Larry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
will the values in my message. It worked OKAY and I was able to display the variable.
Now I am not certain if having flow control set to hardware will create a problem.
I abandoned hyperterminal in favor of propterminal a while back just to avoid issues
when I convert to vista.
Larry
In your last message, I read that you use propterminal;
where do I get information on that?
Larry