time; returns the current time to the following int variables:
_year 1900 - x
_month 1 - 12
_day 1 - 31
_hour 0 - 23
_min 0 - 59
_sec 0 - 59
_wday 1 - 6 weekday (1 = sunday ... 6 = saturday)
_yday 1 - 366 yearday
ton; timer on
toff; timer off
The time between the "ton" and "toff" calls is stored in the lint variable
"_timer". The time is in "ticks". To get seconds, divide by "_timertck"
(ticks per second).
wait_s L; waits "L" seconds
wait_t L; waits "L" ticks (1/50 sec)
Prev: Strings | Next: Math operators
|