Hello Indu, You can use the Random Interface provided by component RandomC. You can generate a 16 bit number with call Random.rand16() or a 32 bit number with Random.rand32().
Have a good day, -Rizwan On Wed, Oct 12, 2011 at 10:23 AM, Indtiny s <[email protected]> wrote: > Hi, > Can any one tell me how to get the Random number in nesc for tinyos-2.1.0 > version ? > > rgds > Indu > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
