Hi,

I wanna know the power of battery, so I try to read the voltage and current of 
the node. I use Read interface and call

event void ReadVoltage.readDone (error_t result, uint16_t val) {
        batteryVoltage = val;
}

printf("Battery vol = %u \n", batteryVoltage);

I print out the reading and find the value is 4063. Can I ask what is the unit 
of this value? It is mV?

Thx a lot.

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

Reply via email to