text
stringlengths
0
715
none
small
medium
large
â—† ledState
enum vex::ledState
strong
The defined units for optical sensor led state.
Enumerator
off
on
Function Documentation
â—† wait()
void vex::wait
(
double
time,
timeUnits
units = timeUnits::sec
)
Wait for a specific amount of time. Identical to sleep()
Parameters
time
The length of time to wait
units
The units of time (default seconds)
â—† sleep()
void vex::sleep
(
double
duration,
timeUnits
units = timeUnits::sec
)
Wait for a specific amount of time. Identical to wait()
Parameters
duration
The length of time to wait
units
The units of time (default seconds)
â—† sleepMs()
void vex::sleepMs
(
uint32_t
duration
)
Wait for a specific amount of time (in milliseconds)
Parameters
duration
The length of time to wait (in milliseconds)
â—† clock()
double vex::clock
(
)
System time, in seconds.
â—† clockMs()
uint32_t vex::clockMs
(