For PIC to PIC Debug is not the way. SERIN is good for basic stuff. SERIN2 has a whole lot more options and uses the same syntax as HSERIN when you need it. The nice thing about the SERIN/2 is it can be set for TRUE or INVERTED while HSERIN is TRUE only requiring an inverter to connect to things like a PC, but that is a minor thing with the other benifits of hardware serial.
http://www.melabs.com/resources/samples.htm
Scroll down to the ser2mod examples for...examples....
When it comes time to idle low or high that can be done with a resistor 100K. Or in your code.
Bookmarks