Quote Originally Posted by StoneColdFuzzy View Post
OK, I'm still trying to understand this and use code, so I thought that I would revive this thread.

Above, the code has "ANSEL = %00111000 'AN3 analog" To me it looks like AN4 and 5 are also made analog. Is this needed? if it is not needed, I should be able to use:
Code:
ANSEL = %00001000  ' AN3 analog
~ Dave
For the 12F683 there is no AN4 and AN5, those bits control the data conversion clock. see the Data sheet page 33.