Forums

PICLIST:Pin conversion

Started by Unknown May 22, 2004
I have a program for a Basic Stamp I would like to convert to a 16F628.

The Stamp says OUTH = ........  Pin 8 to 15

I can substitute OUTL or TRISB for this - Pins B.0 to B.7

The Stamp says  OUTD = ....... Pin 12 to 15

I can find no equivalent grouping for Pins B.4 to B.7.

Any suggestions?

Sid



TRISB = 0xF0 -- Sets pins B4 to B7 as outputs.

--- In , Newzed@a... wrote:
> I have a program for a Basic Stamp I would like to convert to a
16F628.
>
> The Stamp says OUTH = ........ Pin 8 to 15
>
> I can substitute OUTL or TRISB for this - Pins B.0 to B.7
>
> The Stamp says OUTD = ....... Pin 12 to 15
>
> I can find no equivalent grouping for Pins B.4 to B.7.
>
> Any suggestions?
>
> Sid