Thanks for the responses. I tested the program and it turns out that you were right. It must have been a buffer overflow. One last thing, though. Eventually I will connect Rx and Tx modules to my PIC's. To synchronize these I am trying to send synchronizing variables to balance the modules. My code must be incorrect, though, because it is not working. Here is the code for the transmitter:
Pre CON $A5
Synch CON "~"
HSEROUT [Pre,Synch,"1"]
and the receiver code,
Synch CON "~"
HSERIN [WAIT(Synch),Msg]
Thanks for the help!
-Mike




Bookmarks