right, i dont think it was the rf modules, ive just connected the tx to the rx (thourhg a resistor) and its still not reading it properley. Theres definatly sometihng im missing. probably something silly.
can anyone give me a snippet of code that they know that works for just going from tx to rx. just something simple.

thanks

heres the latest code

Tx:

cmcon0 = 7
ansel = 0
TRISA = 0
TRISC = 1
PORTA = 0

'RF test program

Start:

IF PORTC.2 = 1 Then
PORTA.0 = 1
Pause 10
SerOut PORTA.0,4,[0,0,0,0,"A",15]
EndIF

GoTo Start


Rx:

cmcon0 = 7
ansel = 0
TRISA = 1
TRISC = 0
PORTC = 0
Dat VAR BYTE

'RF test program

Start:

SerIn PORTA.0,4,["A"],Dat

IF (Dat = 15) Then
PORTC.2 = 1
Pause 500
PORTC.2 = 0
EndIF


GoTo Start