Take a look at the LowPowerSensing tutorial at: http://docs.tinyos.net/index.php/Writing_Low-Power_Applications
Kevin On Thu, Apr 17, 2008 at 12:23 AM, Henar Martín <[EMAIL PROTECTED]> wrote: > Hello! > > I'm using the drivers downloaded from > http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/tos/sensorboards/ and > when I compile I write SENSORBOARD=mda100 make micaz install,1 > mib510,/dev/ttyUSB0. > > I think I don't understand the code of the drivers because I want to modify > the RadioSenseToLeds so as that the mote with the sensor board measures > periodically the data from the temperature sensor and the photo sensor, > stores these measurements in a packet structure like the one bellow and > sends it to the Base Station to be read in the PC. As the code in > DemoSensorC only defines the component PhotoC I don't know how I have to > modify DemosensorC to include also de TempC component. In addition I don't > know what I have to include in the code of the RadioSenseToLeds in order to > Read from both sensors. > > Thank you very much for your help! > > typedef nx_struct radio_sense_msg{ > nx_uint16_t error; > nx_uint16_t temperature; > nx_uint16_t photo; > } radio_sense_msg_t > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
