If you read on AN2 then we are getting somewhere.

Did you remember to change the channel to 0 after testing on AN2?

Does AN0 work on ADCIN 0,tc ?

Ioannis