Hi Picone,

Glad I could help, and welcome back.

FYI: Darrel has a nifty include file you can use to disable all analog features by just including it in your code. See this thread http://www.picbasic.co.uk/forum/showthread.php?t=11100

It's pretty handy when you forget to disable A/D it takes care of it for you.