If you mean battery energy, you probably can't because there is no
provision for measuring current draw. You can approximate it with
the battery voltage and knowledge of the discharge characteristics.
I also recently suggested measuring the voltage before/during doing
something that draws a lot of current.
MS
paul jhon wrote:
Hello,
I need to compute the initial energy of the sensors
and its remaining energy at every moment.
Can you please tell me how to do this in TinyOS2.x?
thank you so much for your answer.
Paul
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help