Did this a while ago. Don't know if it will help. http://www.picbasic.co.uk/forum/showthread.php?t=14220

If you use the above program you'll need to change you define osc line.

Good luck.