Quote Originally Posted by clem View Post
I've never used an ADC function on a PIC, and am fairly inexperienced with PIC's compared to you guys,
My question is, does anyone have a sample of code that defines and configures an ADC input, does a read, writes that variable to a place in memory, and is read some time later?

Thank you in advance
Jim-
ADC Input configuring and reading - fine example in the little green book
EEPROM writing - little green book
EEPROM reading - little green book

So, what I am eluding to here, is that there is a lot of good information in the little green book.
So, read the book, write some code and try to make it work the way you want it to.
If and when that code doesn't work, we here in the forums will be more than happy to help you figure out why it doesn't work.