Sleep/Wait

This article shows you how to make your robot Pause/Wait/Sleep for a time.

sleep(long milliseconds)
//Sleep accepts a long containing the ammount of milliseconds

Official documentation:

FTC Java Official Docs - LinearOpMode, sleep(long milliseconds)

What is a long data type in java?

W3 Schools - Java long Keyword

W3 Schools - Java Data Types

Last updated

Was this helpful?