As Henrik pointed out, its most likely because you havent disabled the ADCs and the comparators. If you dont need them, perhaps the easiest way to do it in one stroke is to use DT's Alldigital.pbp as an include. Check this thread:
http://www.picbasic.co.uk/forum/showthread.php?t=11100
Should solve your problem.
Regards,
Anand
Bookmarks