On May 9, 2008, at 5:53 AM, Nicole Neureiter wrote:
> Hi all,
>
> I have a problem with two timers in my programm, they seem to cancel  
> each other
> out. My programm is hierarchical, meaning I have a main programm, in  
> which a
> Timer should fire periodically. But I have two subprogramms which  
> include also
> a Timer, that is only called once for Timeouts.
>
>   __________________
>   Main Programm
>   ------------------
>    |            |
>    |            |
> -------       ----------
> Prog 1          Prog2
> -------       ----------
>
> It seems that everytime the timer in one subprogramm is called my  
> main timer is
> cancelled.
>
> Any ideas?
>
> Thanks in advance
>
> Nicole Neureiter

Please say what TinyOS version you're using, and can you give snippets  
of the actual code?

My first guess is that you are using TinyOS 1.x and have not wired to  
TimerC correctly (i.e. have used the wrong key to unique()). There are  
a lot of posts about this in the archives, probably from about 2 years  
ago.

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

Reply via email to