[Tinyos-help] Time counting

Joe Polastre joe at polastre.com
Wed Jan 3 21:09:35 PST 2007


On 1/3/07, Michael Newman <mnewman at dragonnorth.com> wrote:
>   command result_t  StdControl.start() {
>     // Start a repeating timer that fires  every 1000ms
>     return call Timer.start(TIMER_REPEAT,  1000);
>   }

It does fire every 1000ms.  Every 1000 binary milliseconds to be precise.

RTM:
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep102.html

or RTM:
http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf

-Joe


More information about the Tinyos-help mailing list