Re: [Tinyos-help] Sleep function no mote

2017-03-17 Thread Eric Decker
the Radio start up via AMControl.start() is split phase. you have to wait for AMControl.startDone() to be signalled. That tells you the radio is up. On Fri, Mar 17, 2017 at 3:03 PM, arsaraiva wrote: > Hello friends, > > I'm having a hard time making a sensor wait a while before running a > f

[Tinyos-help] Sleep function no mote

2017-03-17 Thread arsaraiva
Hello friends, I'm having a hard time making a sensor wait a while before running a function. event void TimerSlot.fired() { slot=slot%numslots; * if (padrao[slot]) *{ call AMControl.start(); //Call to start the radio dbg("teste","SLOT_ATIVO: No %hu no slot [%hu] com tempo=%l