[Tinyos-help] random timer function in tinyos1.15
BAI LI
libai0915 at gmail.com
Tue Nov 4 20:45:57 PST 2008
Hi All,
I am just wondering if there is any random() functions in Tinyos1.15? I put
an interface random and using a timer as follows
call Timer_send.start(TIMER_REPEAT,rand() * 0xff);
after I compile it, there is no error. But it doesn't seem to be random when
mote sends the message. Any ideas? Thanks.
Regards,
Bai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081105/81d7b23c/attachment.htm
More information about the Tinyos-help
mailing list