Looking for a little help please. This seems like a very simple question but I would like some suggestions.
If IP1 = 1 then set OP1 on, only once. To do this I came up with this:
TSTNE IP1 OP1
TSTEQ IP1 1 OP1
This one I need help with:
If IP1 = 0 then set OP1 off after 10 seconds, only once. Also I do not want the code to stop running while waiting for the 10 seconds. I would like to not use any VARx or RAMx if possible as they may be all used for other things as it is.
Thanks,
Tim
If IP1 = 1 then set OP1 on, only once. To do this I came up with this:
TSTNE IP1 OP1
TSTEQ IP1 1 OP1
This one I need help with:
If IP1 = 0 then set OP1 off after 10 seconds, only once. Also I do not want the code to stop running while waiting for the 10 seconds. I would like to not use any VARx or RAMx if possible as they may be all used for other things as it is.
Thanks,
Tim