mildenhall
New Member
I am having trouble reading the logic state of pins on PortA of a 28x1. I have managed to do...
but what I would like to do is sdomething like this...
however I get a syntax error. Do I just need to stick with my first method or is there a way to do it like the second method please?
TIA
Code:
if PortA pin0 = 0 then
b2 = 0
else
b2 = 1
endif
Code:
b2 = PortA pin0
TIA