Last updated 3 months ago
This allows you to run a function every so many loops.
This runs the function every 3 loops using the ()->{} to define the function being run.
loopTimeController.every(3, () -> { telemetry.addData("Every 3", "Seconds"); });