Am I reading the PIC 18F4520 docs correctly that you can only assign analog inputs in ascending order? IOW, if I want only three analog inputs, I have to use pins AN0, AN1, and AN2 and I cannot make the selection based on open pins such as AN3, AN8, and AN9? Put another way, if I want AN5 to be analog, AN4-AN0 has to be analog as well. Do I have this correct? Joe M. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist