[Tinyos-help] ticks to seconds

2013-02-01 Thread Alpha Gama
Hi all, I want to simulate my protocol during 30 mn, so please what have I to put in this line of the test file : while (t.time() < 600 * t.ticksPerSecond())  Thank you  ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millenn

Re: [Tinyos-help] ticks to seconds

2013-01-30 Thread Eric Decker
i'm sure you can figure this out for yourself. however, typically tinyos time is binary so if you are using a Tmilli timer (you don't specify what t.time is) it is binary milliseconds (mis). There are 1024 mis in 1 second. On Wed, Jan 30, 2013 at 2:37 AM, Alpha Gama wrote: > > > Hi all, > I

[Tinyos-help] ticks to seconds

2013-01-30 Thread Alpha Gama
Hi all, I want to simulate my protocol during 30 mn, so please what have I to put in this line of the test file : while (t.time() < 600 * t.ticksPerSecond())  Thank you ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.mill