Sorry to bother Everybody. ADCON0 controls the AD module. ADCON1 configures the port pins. No you can't substitue ADCON1 = 7 with ADCON0 = 0.