An easy one I hope....
I am using a 40x2 and will be looking at four of the 8 ports (B.0 ~ B.7). I am looking at a combination of highs and lows and the only way I know how to do it is such (I will use Symbol values for pins)...
if B.7=1 and B.6=1 and B.5=1 and B.4=0 (output of a BCD switch) then gosub ......
I do not have the other pins connected and will not be using them, is it possible to shorten that with a command ......
Thanks
I am using a 40x2 and will be looking at four of the 8 ports (B.0 ~ B.7). I am looking at a combination of highs and lows and the only way I know how to do it is such (I will use Symbol values for pins)...
if B.7=1 and B.6=1 and B.5=1 and B.4=0 (output of a BCD switch) then gosub ......
I do not have the other pins connected and will not be using them, is it possible to shorten that with a command ......
, A simple one command that monitors the 8 pins on that particular port? I have 8 states I want to monitor on these four pins to send to various subroutines.if 'something' %11100000 then gosub
Thanks