Hello,

I would like to order a stepper motor with a small DIL8 Pic (12F 683-675-629) followed by an L293D Dual H Bridge.

The sequences to be output are (in decimal): 9,5,6,10.

This Nibble must appear on ports GP0-GP1-GP2 and... GP4.

Not on GP3, which is only an input and reads the voltage from a potentiometer!

What "simple command" can I use to output my nibble on the 4 output ports mentioned above (GP0-1-2-4) without interfering with the GP3 input port?

With a Pic that had 4 contiguous outputs (which is not the case here), we would simply have written something like PORT A = 5 ...

Thanks for your help.