Quote Originally Posted by daydream View Post
hi archangel,i have pic16f628a.what are comparators?how do I turn them off?with this CMCON=7?
A comparator is like an OP AMP, your 628A has them as analog inputs, so to use those pins as digital you disable them with in this case CMCON = 7