My project is to control a stepper motor attached to a gunpowder trickler to trickle powder into a weighing scale pan. The only control would be an on/off switch and a pot. The PIC would use ADC to read the pot and control the trickle speed.
It works with 16F877 and 16f688 but I am stumped trying to move over to 12F683. I need to set 4 pins at a time for the stepper to turn, i.e.GPIO 0,1,2,5. GPIO.3 is only an input and I need a pin for ADC in (in this case GPIO.4)

Here is the problem:

FOR INDEX = 7 TO 0 Step -1
LOOKUP INDEX, [$1, $3, $2, $6, $4, $C, $8, $9], PATT
PORTC = PATT 'THIS WORKS FINE ON THE BIGGER PICS

(GPIO.0,GPIO.1,GPIO.2,GPIO.5 = PATT) ...this doesn"t work.

I am stumped. Charlie