You will need to turn the analog off.
The two links below should help. For now, after you read the one from Melanie, use the one from Darrel.
http://www.picbasic.co.uk/forum/showthread.php?t=561
http://www.picbasic.co.uk/forum/cont...54-All-Digital

And if you could post all of your code and how the configs are set might also be helpful.