Quote Originally Posted by ra68gi
Picster,
Thanks for the code.I will soon try it out.I have a few more questions with regard to the code you have sent.
First,
' PA1=0:non-inverted mode (pic-to-pic)
' PA1=1:inverted mode (RS-232)

is there some sort of a convention to use non-inv mode for pic to pic & inverting mode for RS-232.
Please explain.
You must use inverted mode (through a resistor) if you're using RS-232 voltage levels (i.e. - to a PC serial port). For PIC-PIC serial communication, this is not necessary, you can merely use non-inverted, TTL levels.

Quote Originally Posted by ra68gi
Second,
GETMORE:
SerIn PORTA.0,sermode,,mybyte 'get 1 byte at a time

I can see two comas after sermode.Is that right.
ra68gi
Yes, because there is no "qualifier" to satisfy, you put 2 commas in as placeholders.

----------------------Picster----------------------