Hi Ken, Are you still using 16F887. If so PortB is lousy with analog functions, just waiting to be disabled.