I hope someone can give me hing about this problem I'm having. I want to use a
combination of a one-shoot timer and the .done routines to things sequentially.
Here is a general algorithm of that:
//initializations
state=stage1;
Start timer(one-shot, 100)
timer.fired{
switch state{
stage1:
call something1()
break
stage2:
call something2()
break
stage3:
call radiosend()
break
}
}
something1.done(){
Start timer(one-shot, 100)
state=stage2;
}
something2.done(){
Start timer(one-shot, 100)
state=stage3;
}
radiosend.done(){
Start timer(one-shot, 100)
state=stage1;
}
Everything works ok until something2.done calls radiosend. radiosend is
successful but never get a radiosend.done call and the program stops there;
What can it be my problem?
Thank you beforehand.
Lane
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help