http://www.picbasic.co.uk/forum/showthread.php?t=18529

If you want to see what you need to make pins digital.

Robert