You can transform Counter to LocalTime with CounterToLocalTimeC.
However, you should keep in mind the following:
- the mica's (mica2, micaz, iris) Counter32khz32C ticks at 28.8kHz, not
at 32kHz.
- the counter stops when the motes goes to sleep mode (you can prevent
that by providing McuPowerOverride and wiring it to McuSleepC.

All this is explained in TEP 102 (see Appendix C for mica specific
details).
http://www.tinyos.net/tinyos-2.x/doc/html/tep102.html


Janos


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
m.khezri
Sent: Thursday, July 03, 2008 1:32 AM
To: [email protected]
Subject: [Tinyos-help] Counter32khzC component for mica platform

Hello
Counter32khzC is available for pxa27x processor and provides
LocalTime32khz interface.
Mica platform have Counter32khz32C but this component doesn't provide
localtime interface.
is it possible to make component like Counter32khzC for mica platform?

thank you.
_______________________________________________
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

Reply via email to