[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/mica VoltageNowC.nc, 1.1, 1.2 VoltageStreamC.nc, 1.1, 1.2

David Gay idgay at users.sourceforge.net
Tue May 22 14:02:15 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4786/mica

Modified Files:
	VoltageNowC.nc VoltageStreamC.nc 
Log Message:
voltage sensors for mica family - all based on internal ADC for 
consistency and simplicity (external sensor on mica2, mica2dot no
longer used)


Index: VoltageNowC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica/VoltageNowC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VoltageNowC.nc	22 May 2007 20:59:01 -0000	1.1
--- VoltageNowC.nc	22 May 2007 21:02:12 -0000	1.2
***************
*** 1,15 ****
- /* $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
   */
  
--- 1,8 ----
  /**
!  * 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.
   */
  

Index: VoltageStreamC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/mica/VoltageStreamC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VoltageStreamC.nc	22 May 2007 20:59:01 -0000	1.1
--- VoltageStreamC.nc	22 May 2007 21:02:12 -0000	1.2
***************
*** 1,15 ****
- /* $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
   */
  
--- 1,8 ----
  /**
!  * 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.
   */
  



More information about the Tinyos-2-commits mailing list