[Tinyos-help] Time Interval
Ruben Catteeuw
rubencatteeuw at hotmail.com
Mon Jun 1 08:59:05 PDT 2009
Hi,
Why not just generate a random number with the Random interface and then initialize a timer with this value?
regards
Ruben
Date: Mon, 1 Jun 2009 08:49:06 -0700
From: janesjunkbox at yahoo.com
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] Time Interval
I want to implement a loop that sends a jamming signal over a random period of time, sleeps for a random period. I found the Random interface, but not sure how to implement the time intervals. Is there a interface I could use to perform the task? I have IRIS rf230. Thanks!
YanYan
_________________________________________________________________
Je hele online leven op één stek met Windows Live
http://www.microsoft.com/belux/nl/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090601/278d70ec/attachment.htm
More information about the Tinyos-help
mailing list