I am trying to generate random numbers, however I keep getting the same numbers
over and over, I did find people with similar problems but I did not understand
how I can solve the problem!? any suggestions?

What i am doing now is

number = (Random.rand16() % 100) + 1;
to get a number between 1 and 100, but as I mentioned, I keep getting the same
sequence of numbers!!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to