Hi friends

I'm begining studing NesC and I have 1 doubt about Timer interface:

I know I can declare a Timer using one of these ways:

   Timer.start(TIMER_ONE_SHOT, 3000) - 1 execution

   Timer.start(TIMER_REPEAT, 3000) - loop infinite

I wonder if there is a third way that would make the
timer to run a number of times greater than 1 and less than
infinity, for example, 2, 3, 4, 50 times. I've heard it's possible using a
counter, but I don't know how to do it.
Could anybory help me?
It's urgente

Thanks vey much and apologize my english :)
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to