Hi all.
I'm using surge_reliable application on my Mote. I would want to understand the 
following piece of code:
______________________________________________________
event result_t TempTimer.fired() {
        call Temp.getData();
  }

 async event result_t Temp.dataReady(uint16_t data) {
        if(gTemp == 0){
                gTemp = 1;
                call Temp.getData();
                return SUCCESS;
        }       
        gTemp = data >> 2;      
        call TempStdControl.stop();
        call AccelX.getData();
        return SUCCESS; 
______________________________________________________

Someone can give some explanation to me?
thanks for every support.



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

Reply via email to