I was about to post the same question. I have been trying to do the same
thing, trying both the platform/mica2/SysTime.nc and LogicalTime.nc
(i.e. SimpleTime.nc).
In the first case (SysTime) I got right results but for events only up
to 200 ms apart. After that the timer seems to reset.
For the second case I get a not so good accuracy, but it seems to work
somehow. The problem is that when I don't use a TimerC.Timer in my
program, the SimleTime returns always 0. Is this natural??
Yannis.
I would like to use the SimpleTime module in a program I am creating
to time stamp events, but I notice that it is not used anywhere in
the source tree. Furthermore, it appears that it was used in TinyDB,
but is no longer used. Has this been deprecated? Is there a better
way of keeping track of time? What is the general way of time
stamping events? Are there any good tutorials available, or example
code of a system that time stamps events?
Thanks for the help,
Doug
__
Douglas R Herbert
SeNDOR Research Group
Dept. of Electrical and Computer Engineering
Purdue University
West Lafayette, IN
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help