yes, sorry my mistake.

I have taken that bit of code out but it still doesnt work.

Well, it does work occasionally when disconnecting and then connecting the power to the transmitting circuit, but it seems very unreliable that it may as well not work, but at least i no it is receiving data sent across the rf link. Is there something to make it more reliable. I have tried several different baud rates and pre ambles but nothing seems to make it more reliable.

thanks