Hello,

I need some help with implementing two timers in the same application. I
have wired the TimerC component. Tutorial 2 explains that I can have
multiple timers, but I couldnt understand how to achieve it.

I have wired the TimerC component and doing the following:

StdControl.start() {
  call Timer.start(TIMER_REPEAT,2000);
  return SUCCESS;
}

This works fine but I need one more timer that fires at 5000 msec. Can
someone suggest whats the syntax for it. Thanks a lot.

Regards,
Yogesh.



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to