interfacing pic18f4550 to cc1100 rf transreceiver

hi,

I am interfacing pic18f4550 to chipcon cc1100 wireless transreceiver using spi interface,the cc1100 is a 100 meters range,433Mhz transreceiver .I am using two pic18f4550 microcontrollers to two cc1100 transreceivers,one transreceiver is connected to first pic18f4550 at the transmitting end and the other transreceiver is connected to second pic18f4550 at the receiving end .now I need to send a data from first pic18f4550 at transmitting end and turn on 8 Led’s connected to portb of second pic18f4550 .How to write code for this circuit operation using c18 compiler?.Anyone who had experience please guide me.

thanks in advance.