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: janesjunk...@yahoo.com
To: tinyos-help@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
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to