I need to stop a for - next loop from executing if a condition appears on an input pin
something like this .....
for w3 = 0 to 1000
<<do something>>
if input1 = 1 then <<do something else>>
how can I stop the for next loop at this point and reset it to zero
next w3
PLEASE keep it simple, I am no expert !
thanks
Dave F
something like this .....
for w3 = 0 to 1000
<<do something>>
if input1 = 1 then <<do something else>>
how can I stop the for next loop at this point and reset it to zero
next w3
PLEASE keep it simple, I am no expert !
thanks
Dave F