Hello Unregistered ,
Originally Posted by Bruce You want to write directly to ADCON1 so you have at least Fosc/8 for 4MHz. ADCIN doesn't do this for you - so your AD conversion clock is way too fast with ADCON1 = 0 by default. Thanks, Bruce. I've used ADC with other devices (12F683; 16F88; 16F1827) and always gotten by with the RC clock. Can I use DEFINE ADC_CLOCK 1? Or if I use ADCON1=%00010000, do I simply omit the DEFINE?
Russ N0EVC, xWB6ONT, xWN6ONT "Easy to use" is easy to say.
Forum Rules
Bookmarks