Hi all,
I am working on a small project with 20X2. Is there a way to check if an output is already high or low? before actually changing it?
for example I need a logic like this
Note that I do not want to use TOGGLE, in my application I need to see the actual state of an output on the PC monitor.
Thanks!
I am working on a small project with 20X2. Is there a way to check if an output is already high or low? before actually changing it?
for example I need a logic like this
Code:
if B.0 is high then
sertxd("is already high")
else
high B.0
Thanks!