You must be using TinyOS 2.x (which it always helps if you include
which version of the operating system that you're using), and this
version (for some odd reason) doesn't report the Voltage in
millivolts.  Both TinyOS 1.x and Boomerang report in millivolts, thus
the confusion.

-Joe

On 6/3/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:
On 6/3/07, Joe Polastre <[EMAIL PROTECTED]> wrote:
> Are you using InternalVoltageC or VoltageC?  It sounds like you are
> using InternalVoltageC; instead use VoltageC, it returns the value in
> millivolts.
>

No, I am using VoltageC. According to the source code, it just renames
Msp430InternalVoltageC, and the latter suggests in the comments to
divide by 4096 and multiply by 3 to get the actual voltage. I guess I
got my answer...

Thanks for the reply,

Romain

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

Reply via email to