# How to use multiple input ports for internal ADC of PIC18F4550?

Is it possible to use the setChannel() command to switch between the inputs for the internal ADC of PIC18F4550 at the end of each conversion, e.g. from AN0 to AN1 and back, or register initialisation is required for input switch?