Generally the Sensor.stop() command will un-power the device.
You then need to call Sensor.start() before read().
MS


Daniel Garcia Aubert wrote:
> Hi all!
> 
> If I get data of sensor with interface Read... the sensorboard is always 
> on? In simulations Avrora specifies:
> 
> =======================================
> Node lifetime: 26542080000 cycles,  3600.0 seconds
> 
> SensorBoard: 7.56 Joule
>    on:  : 7.56 Joule, 26542080000 cycles
> =======================================
> 
> I use T2.1, micaZ and sensor MTS310CB
> 
> How I can handle the sensorboard?
> 
> Thanks in advance!
> 
> -- 
> Daniel GarcĂ­a Aubert
> Universidad Carlos III de Madrid.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to