[Tinyos-help] Unit of the Voltage sensor
Romain Thouvenin
romain.thouvenin at gmail.com
Sun Jun 3 03:52:47 PDT 2007
On 6/3/07, Joe Polastre <joe at polastre.com> 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
More information about the Tinyos-help
mailing list