Page 2 of 2

Re: Continue a loop after it's been broken?

Posted: 18 Jul 2012, 02:32
by mcsummation
I went back and reread what you've written. I had, obviously, misread what you want to do. My interpretation of what I understand you want is: "You want the ultrasonic sensor going below 10cm to 'pause' the loop execution, regardless of what block within the loop is next to run. Then, when the ultrasonic code is finished, resume execution of the code within the loop." Is that correct? If so, I'll work on a solution for you.

Re: Continue a loop after it's been broken?

Posted: 18 Jul 2012, 14:55
by hassenplug
Usually, with something like this, there are different solutions that you may not have considered. If you want, you could explain a bit more about what you're doing, and how you want to do it, and see if anyone else has suggestions on a different approach.

Steve

Re: Continue a loop after it's been broken?

Posted: 24 Jul 2012, 23:49
by legostormrobot
So I basically am making it work with a series of switches... I guess the "pausing the loop" was the wrong mindset for what I'm trying to do.

Thanks for all the replies!