14#ifndef VEX_TIMER_CLASS_H
15#define VEX_TIMER_CLASS_H
37 void operator=( uint32_t
value );
40 operator uint32_t()
const;
53 double time( timeUnits units )
const;
82 static void event(
void(* callback)(
void *), uint32_t
value );
89 static void event(
void(* callback)(
void), uint32_t
value );
Use the timer class to create timers for your program.
double value() const
Gets the current value of the timer in seconds.
void reset()
Sets the current value of the timer to 0.
static uint32_t system()
Gets the current value of the system timer in mS.
static void event(void(*callback)(void *), uint32_t value)
Sets a callback that will be called in the future.
static void event(void(*callback)(void), uint32_t value)
Sets a callback that will be called in the future.
void clear()
Sets the current value of the timer to 0.
uint32_t time() const
Gets the current value of the timer in mS.
double time(timeUnits units) const
Gets the current value of the timer in specified units.
Bumper switch device class