I had a similar doubt. In my project in fact I never called TimerC.init(). In fact at the time, I wsnt even aware that TimerC provides StdControl interface. In the tutorials, it was simply shown to call Timer.start() and stop() and wire Timer to TimerC. However I never faced any problems with using timers (I used 5 instances of timers).

Whats the purpose of TimerC providing StdControl and where it should be used?

On 5/26/06, Andres Aberasturi < [EMAIL PROTECTED]> wrote:
Hi all,

We are working with micaz motes. We have noticed that there is a line in a
lot of places like:

Main.StdControl -> TimerC;

That means StdControl interface is called from Main (actually from
Realmain), is not it?

We know StdControl.init(), which TimerC provides, should be called to start
the clock, but we could write:

AppM.TimerControl -> TimerC;  (if we have written StdControl as
TimerControl)

and then we could write TimerControl.init() in our application module, could
not we? Why is that?

We are grateful for any help or clue.

Thanks in advance,

Andres

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias.
http://www.msn.es/Mujer/moda/default.asp

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



--
regards,
Aditya Bhave
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to