Glad you did it Roger! Bravo!
Ioannis
I don't know the internals of ADCIN, but unless it sets the ADCS bits to something else, you're ADC clock source will be Fosc/2 which at 8Mhz will give a Tad of 250ns. Fosc/16 or Fosc/32 are recommended.For any reason, either ADCON1.ADCS setting will affect the results.
George
George, If you do not want any headaches, just use the Frc. The internal 500Khz clock is good enough for most applications.
Plus, you do not worry for any timing violations.
Ioannis
Bookmarks