Hi,

Just trying to get to grips with my first project using ADC using a 16F73 and have a quick couple of questions.
After looking at other code examples on this forum and reading the datasheet my question is.... is there any point using a define adc_clock 2 and a adcono =%10000001? From what I can understand the adcono will set my clock speed bits to %10(2) anyway.
What is the correct way to use these two statments?

'Includes
INCLUDE "modedefs.bas"

'Definitions
define OSC 20
DEFINE ADC_BITS 8
DEFINE ADC_CLOCK 2
DEFINE ADC_SAMPLEUS 100

'Initialize chip and Ports
ADCON1 = %00000100
ADCON0 = %10000001

Thank you