]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mica/VoltageNowC.nc
voltage sensors for mica family - all based on internal ADC for
[tinyos-2.x.git] / tos / platforms / mica / VoltageNowC.nc
index 814a04e81f8b5a3227b52443dc69e77ac03474aa..b7088847808d4df97a4647d5b1e5820ff4d9ac9e 100644 (file)
@@ -1,16 +1,9 @@
-/* $Id$
- * Copyright (c) 2006 Intel Corporation
- * All rights reserved.
- *
- * This file is distributed under the terms in the attached INTEL-LICENSE     
- * file. If you do not find these files, copies can be found by writing to
- * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, 
- * 94704.  Attention:  Intel License Inquiry.
- */
 /**
- * Voltage sensor.
- * 
- * @author David Gay
+ * Battery Voltage. The returned value represents the difference
+ * between the battery voltage and V_BG (1.23V). The formula to convert
+ * it to mV is: 1223 * 1024 / value.
+ *
+ * @author Razvan Musaloiu-E.
  */
 
 #include "hardware.h"