Here's the problem I have.

I have used ADCIN using port a.0/ AN0 many times on many different projects with no problems, but I recently tried using a different port on the MCU for the ADCIN channel with no results. I'm using a 16f690 chip and portc.1/AN5. Can someone please help me with the proper setup for the ansel, adcon and adcon1 registers, as well as any setup for the TRISC settings to get the AD to work using the above channel or any other other channel besides the an0 channel. I usually don't have these problems, but this is driving me crazy. By the way, I'm also using a 5k pot connected to the portc.1 pin which reads 0-5v with my meter , so I know the electrical is good. I know I have to be doing something stupid in the setup.

Thanks for the help,

Dan