Hi,
I'm trying to get a 16F88 to gather four analog inputs on portA and then send out a computed result as a HPWM on portB.3

I need to switch the HPWM to port 3 since the hardware is already made and I was using that port on a 16F628.

Could somebody please tell me

A) the official way to open up 4 analog portA and 1 digital PORTA is it :-

ADCON1=7
ANSEL=%01111

DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 50

B) How on earth do I make the 16F88 swap its CPP1 drom portB.0 to portb.3 ?

Maurice