I am having problems with the ADC on a 24FV32KA301. My code works fine on the 3.3v 28pin version (24F32KA302) But not on the 5v 20 pin version. I initialise the ADC with:- void initadc (void){ PMD1bits.ADC1MD=0; // enable adc1 from power saving AD1CON2bit..
↧