I had a program that communicated via RS232 to my PC pretty well, but I lost it in a hard drive transfer and can't get a new program to work exactly right.
The program I have has the following serout2 command repeated in a loop:
serout2 portb.2,396,["TACOS"]
On my terminal program, all I get is something like:
"aeU aeU aeU aeU aeU"
(the a is actually a Greek alpha)
I've also tried (with somewhat similar results as above):
serout2 portb.2,396,[DEC 84,65,67,79,115,33,13]
I have the terminal program set to recieve at 2400, true, non-inverted, 8-bit and 1 stop bit. What am I missing?
Thanks in advance for any help!
Dave
Bookmarks