Hi folks,
I haven't been here for a while.
I'm starting a new project using a 28X1 chip, a type I haven't used before.
I've configured PortC as all outputs [ dirsc = %11111111 ]
The first four bits will be varied together, while maintaining the current status of the other bits.
To do this, I was attempting to use masking.
However, when I used the code [ pinsc = pinsc | value ] it didn't pass the syntax check.
Should that method work?
If not, what would be the correct method?
Editor V5.4.0, Win XP Pro
kenmac
I haven't been here for a while.
I'm starting a new project using a 28X1 chip, a type I haven't used before.
I've configured PortC as all outputs [ dirsc = %11111111 ]
The first four bits will be varied together, while maintaining the current status of the other bits.
To do this, I was attempting to use masking.
However, when I used the code [ pinsc = pinsc | value ] it didn't pass the syntax check.
Should that method work?
If not, what would be the correct method?
Editor V5.4.0, Win XP Pro
kenmac