23 int OSGetTime(
int *hrs,
int *mins,
int *secs,
int *ticks);
int OSDetachTimer(Timer handle)
removes the Timer from the list
Definition: timer.c:107
Defines types used for the EyeBot 7.
int OSGetCount(void)
gives you the count in 1/100 sec since the system start
Definition: timer.c:173
int OSSetTime(int hrs, int mins, int secs)
sets the system time
Definition: timer.c:121
int OSGetTime(int *hrs, int *mins, int *secs, int *ticks)
Get system time (ticks in 1/100 sec)
Definition: timer.c:141
int OSShowTime(void)
prints the time on the command line
Definition: timer.c:159
Timer OSAttachTimer(int scale, void(*fct)(void))
adds a function to a 1kHz/scale timer, ie. executes every 1ms*scale usage: OSAttachTimer(, &);
Definition: timer.c:84
int OSWait(int n)
Waits for 1 ms.
Definition: timer.c:72