hi all,
I have to simulate an application and more specially I want to calculate the
variation of a variable in function of time (every 1ms). To do that , I used
t.ticksPerSecond() in my python file.

I learned from TEP102 that  one second contains 1024 binary milliseconds,
32768 32kHz ticks, or 1048576 microseconds.
In the following code, what is the value in ms of  1024 *
t.ticksPerSecond().

 while (t.time() < 1024 * t.ticksPerSecond()):

t.runNextEvent();



Thanks,


-- 
Wafa Ben Jaballah
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to