I've added:

ADCON1 = $0F

But still ccp2 doesn;t work (also on portc.2 it gives problems)

The pin is always high.