Hello,

      I have a question about the old MDA320 driver for tinyos1. In the 
IBADCM.nc file, the ADConvert.getData has a parameter, but when the function is 
called in other files, I cannot find the parameter. Can any one explain it for 
me? Is another getData() used in the sampler? 


//---------IBADCM.nc------------------------------------------------------------
// get a single reading from id we
command result_t ADConvert.getData[uint8_t id]() {  
 
}
//----------in the sampler-----------------------------------
 case 0:       
                    call ADC0.getData();   
                    break;
                case 1:
                    call ADC1.getData();                 
                    break;
//-------------------------------------------------


     Thank you very much. 

Thanks and Regards,
Haixia Li
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to