Hi.

I’m trying to go from a 628 to an 876A.

Could someone give me an example of working pbp2 code that makes
PortA.0-3 output
PortB.1-5 output
PortC.0-3 input
PortC.4-7 output
All digital.

I’m trying to set the TRISX but it won’t work.
Is it some DEFINE that has to be set?
I liked the simple 628….

Regards
David

I’m using
Pbp 2.42
PM assembler 4.04