Welcome to the forum.
Here is a similar one. See if it helps.
http://www.picbasic.co.uk/forum/showthread.php?t=13141