How to use the delay command in iterative like
timer.delay(1000)
How to use the delay command in iterative like
timer.delay(1000)
In your other thread you asked how to make a timed movement, like having your robot go forward for 3 seconds.
A delay command works exactly the same way, except that instead of driving while you’re counting off the time, you’re doing nothing.
Edit: I see you also started a thread yesterday on Timers, which is essentially the same question.
Great, I understood. Thanks.