Quote Originally Posted by aratti View Post
You Are sending twice the same code and then you compare code1 with code to see if same value. This is wise but is giving you problem with the synchronism since you have no handshaking.

Suggestion: remove the compare feature and work with a single byte sent. If your code works has you expect then re-install the double sending feature and try with a higher baud rate (9600) and with a delay between the first byte and the second one (this on the device that Tx the byte)

Cheers

Al.
Thanks Al. My baud cannot increase to beyond 2400 because of other hardware limitations. I use the same format in every other PIC I use, and it works. But this combination of 676 & 72 has made me crazy. Currently everything is on my breadboard. Rx is fully responding to the first few signals on the Tx but not ALL.