I have a problem with repeat loop. If I write this code 10 times it works but, I face bugs when I use a repeat loop. Can someone help? Is there any settings which I need to change to use repeat loop. I saw from a video, and everything works fine there.
I need help for repeat loop.
Repeatis not broken, but by default, it has a built-in delay of 1/30 second per iteration, which may have its effect on race conditions in parts of your code you have not revealed. Read this wiki article to learn how to eliminate the delay.