See if this helps

http://www.picbasic.co.uk/forum/show...en+serial+port

Let us know if this helps.