Hi,

I am not sure if I got it right. Does it mean that I do not have to
care about virtual timers because they will be used automatically by
TinyOS?

If this is the case then the following code would create virtual
timers based on another virtual timer. Right?

components new TimerMilliC() as BaseTimer;
components new VirtualizeTimerC(TMilli, 5);

VirtualizeTimerC.TimerFrom -> BaseTimer.Timer;
DbgMessengerP.Timer0 -> VirtualizeTimerC.Timer[0];
DbgMessengerP.Timer1 -> VirtualizeTimerC.Timer[1];
[...]

Thank you,

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

Reply via email to