
Originally Posted by
flotulopex
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
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks