> If I read the datasheet correctly, CMCOM has no affect on A/D > operation for GP0, though I've not got a d/s handy but IIRC that's correct A couple of suggestions - Try testing adcon0,go_done for completion. Simplify the code to isolate the A2D and get that working without any possible complications arising from other parts of the code The sampling is done immediately after the relay is turned off. I'd check for any noise/pulse that may cause on GP0, even when you do get the A2D itself working properly -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist