VEX V5 Python API
Public Member Functions | Static Public Member Functions | List of all members
vex.Timer Class Reference

Public Member Functions

def __init__ (self)
 
def time (self, timeUnits=TimeUnits.SEC)
 Gets the current value of the timer in mS. More...
 
def clear (self)
 Sets the current value of the timer to 0. More...
 

Static Public Member Functions

def system ()
 Gets the current value of the system timer in mS. More...
 

Constructor & Destructor Documentation

◆ __init__()

def vex.Timer.__init__ (   self)

Member Function Documentation

◆ time()

def vex.Timer.time (   self,
  timeUnits = TimeUnits.SEC 
)

Gets the current value of the timer in mS.

◆ clear()

def vex.Timer.clear (   self)

Sets the current value of the timer to 0.

◆ system()

def vex.Timer.system ( )
static

Gets the current value of the system timer in mS.

Returns
Returns the value of the system timer in mS.