Hi all, I have been struggling since converting from a 16f876A chip over to the 18f2550.

My problems start as soon as i go to program with PICKIT2 i get the error: "Warning: Some configuration words not in hex file".
I have googled this and came back to an ansrew using older software and i dont think there has been a post since PB3?

Secondly even after programming though this and ignoring the error i can not get the ADCIN to operate. I believe i have enabelled this correctly for using pins 0,1 and 2:

DEFINE ADC_BITS 8 'SETS NUMBER OF BITS IN RESULTS
DEFINE ADC_CLOCK 3 'SET CLOCK SOURCE
DEFINE ADC_SAMPLUS 50 'SET SAMPLING TIME IN US


ADCON0 = %00000001
ADCON1 = %00001100 'SETS THE ANALOGUE/DIGITAL INPUTS TO BANK A
ADCON2 = %10111110 'right justified, AD=20AD, A/D clock=fosc/64


Am i missing something obvious here?

Thanks Chris