Hi guys. I need some help with the code. I would like to use the output status (high or low) for my future programming as input. What command or function I should use for this. I can explain what I need verbally, not with the code as my program is very long. Basically my task is:
"If output 1 is high then goto subroutine"
how to write it right way to make it work?
Output 1 status is changed in very many places within the program, so I do not want next to each "output 1 = 1" additionally put temporary variable. I would like to use it some simple way as I expressed above. I feel this must be very simple, but cannot get it working.
Thanks for advice.
"If output 1 is high then goto subroutine"
how to write it right way to make it work?
Output 1 status is changed in very many places within the program, so I do not want next to each "output 1 = 1" additionally put temporary variable. I would like to use it some simple way as I expressed above. I feel this must be very simple, but cannot get it working.
Thanks for advice.