> Excuse me but ANSEL what is? Tamas was thinking of a different chip. There is no ANSEL register on the 628. However, some other PICs, for example the 16f88, have A/D converters, and for them, the ANSEL register serves a similar function to CMCON for the comparators. --McD -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist