|
Re: ADC code errors
Do you mean like:
ADC_VREFPLUS_VDD and ADC_VREFMINUS_VSS ?
If that's what you're talking about then there are two solutions to this problem with the student version 3.15 of the compiler:
-- Fix the 3.15 version of the adc.h system file. There is a missing "#endif" at line 536. It does a series of PIC architecture checks and they forgot to close one conditional #if, thereby wiping out all the subsequent statements.
or
-- You can comment out the code that uses those macros.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|