Hi,

Thanks for your reply.

I am using a 20MHz resonator, but I have ADCS2:ADCS0 set to 111, internal RC oscillator.
I am also wanting a 10 bit result so I think it should be right justified.

I have tried setting TRISA = 255, but this made no difference.

There must be something else I am missing.

Regards
Bob...