I'm wondering if there is a good way, or even anyway to stop a while loop without waiting for its next iteration. Lets say you have a timer in the loop so it iterates once evey 10 seconds, then you have to wait 10 seconds for it to stop after a stop button is pressed which could be a problem.
Thanks!