Timer#
Introduction#
The VEX 123’s Brain has a timer that keeps track of elapsed time from the start of a project. It can be used to measure durations or reset for new timing operations.
Below is a list of all available blocks:
reset timer – Resets the timer to zero.
timer in seconds – Returns the current elapsed time in seconds.
reset timer#
The reset timer block resets the timer to zero.
The reset timer stack block.#
reiniciar el temporizador :: custom-orientation
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
aria-description goes here#
cuando empezó :: hat events
[Reset the timer when the sound button is pressed.]
para siempre
borrar todas las filas
imprimir (temporizador en segundos) ▶
si <[soundIcon v] presionado?> entonces
reiniciar el temporizador :: custom-orientation
timer in seconds#
The timer in seconds block returns the elapsed time since the timer was last reset, as a decimal in seconds.
The timer in seconds reporter block.#
(temporizador en segundos)
Parameters |
Description |
|---|---|
This block has no parameters. |
Example
aria-description goes here#
cuando empezó :: hat events
[Reset the timer when the sound button is pressed.]
para siempre
borrar todas las filas
imprimir (temporizador en segundos) ▶
si <[soundIcon v] presionado?> entonces
reiniciar el temporizador :: custom-orientation