Hi all,
Can anyone please tell me how to use ParameterInit<uint16_t> interface?
I am trying to generate random numbers, and I am using RandomMlcgC. My problem
is that I don't know how to use this. Earlier I was using RandomC and I had a
method which looks like the following:
uint16_t generate_random(){
rand = call Random.rand16();
return rand;
}
However, because that always results the same sequence of numbers, I decided to
use ParameterInit<uint16_t> but unsure about how to use it! I appreciate any
suggestions..
Thank you.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help