Quote Originally Posted by flotulopex View Post

I think, I don't understand what the DEFINE does.

Any clue for me?
Hello, Roger

DEFINE only set a constant ... used to DEFINE some processor module or macros configs.

the value is tested, and relevant settings are chosen by the compiler ( sort of conditionnal assembly - if you prefer ... sort of !!! )

just look at the difference ( in the asm listing) between DEFINE ADC_BITS 8 and ADC_BITS 10 ...

Should be little differences in the ADCONx setting values ... don't you think ???

Alain