I keep referring people here
http://www.rentron.com/PICX2.htm
Shows how to have the ADC parts in nice neat subroutines.
It is for a different chip but it is very clear and with the data sheet for the chip you are using in front of you, should be good to go.
Bookmarks