Try

MilliTimer.startPeriodicAt(MilliTimer.getNow() + 10000,1000)

Kevin

On 10/5/07, Roberto <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I would like delay the beginning of a timer. So I considered the
> startPeriodicAt() function provided by the interface Timer in TinyO- 2.x.
> Unluckly, this function don't works very well for my work.
>  I use the function as follows:
> MilliTimer.startPeriodicAt(10000,1000)
> In this way I would like a 10seconds delay for the timer; the periodic value
> for the timer is 1000 (each second)
> Can you tell me where is the mistake?
> Thanks
>
>
> -- .
> Platform: Linux Fedora
> TinyOS version: 2.x
> Programmer: MIB510
> Device(s): Micaz, Stargate
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


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

Reply via email to