Quote Originally Posted by lerameur View Post
Ok thanks for the link

to go back to the A/D conversion.
I read another way to use analog to digital with direct ADC control, and not with adcin , What does that mean ?
Accessing the registers directly, select channel, set pin assignments, set acquisition time, set sampling time, turn module on, start a/d conversion, wait for completion and read the registers.
Again, if ADCIN is working, stay with it. You won't do a lot better with direct access.