Put a counter in the Timer.fired() method of the Blink demo app...
MS
Yesid Jarma wrote:
Hello,
Is there an easy way to make one led on a mote blink a determined number
of times??
I want to show the value of a variable by making one led blink. For
instance, if the variable
is 5, the led should blink 5 times, every 10 seconds. But the leds
should blink 1 time every 5 seconds
so there will be 5 seconds to spare.
Here's a little diagram:
BBBBB-----BBBBB-----BBBBB-----
|--10s---|
Any ideas????
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help