On Jun 25, 2006, at 5:38 PM, Ajit Mylavarapu wrote:
I was wondering how to obtain microsecond accurate timestamps in
TinyOS 2. We want to find out the accuracy of our synchronization
scheme. I went through the TinyOS help archives. A couple of posts
talk about using the LocalTimeMicroC component, but that is available
only in TinyOS 1.1 I think. How do we get timestamps with microsecond
accuracy is TinyOS2?
Or is the only way out to start an Alarm (TMicro) and count the ticks?
On the Telos, you can use Msp430CounterMicroC. If you want more than
16 bits of granularity, then you'll need to do a conversion, or keep
a CounterMilli around.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help