You removed ADC code, , but is ADC enabled on PortC for this PIC?

Robert