short answer, yes.
longer answer, you could use a module scope variable to act as a counter
and increment the value every time your timer fires and then check for
your condition. Timer1.stop() should do the trick.
the tutorials cover how to add multiple timers in a module.
sankar.
On Fri, 16 Jun 2006 11:10:04 -0500, Stephania Kigadye <[EMAIL PROTECTED]>
wrote:
Hi all,
I am trying to set up timers in such a way that - Timer1 fires in repeat
mode, but after a number of repeats, it stops and Timer2 is fired (also
in repeat mode) within the Timer1 routine - this one runs a number of
repeats and stops, and the Timer1 continues.
Is this possible to implement using the Timer component?
any ideas appreciated...
thanks,
Stephanie
--
No opera plot can be sensible, for people do not sing when they are
feeling sensible. - W. H. Auden
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help