[Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430
VoltageC.nc, 1.1, 1.2
Jonathan Hui
jwhui at users.sourceforge.net
Thu Jun 9 12:37:29 PDT 2005
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/build/telosb
app.c, 1.8, 1.9 ident_flags.txt, 1.8, 1.9 main.exe, 1.8,
1.9 main.ihex, 1.8, 1.9
- Next message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/build/telosb
app.c, 1.9, 1.10 ident_flags.txt, 1.9, 1.10 main.exe, 1.9,
1.10 main.ihex, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3378/msp430
Modified Files:
VoltageC.nc
Log Message:
Turn of ADC12 when done sampling. I guess it's good to put away what
you use.
Index: VoltageC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Deluge/Deluge/TOSBoot/msp430/VoltageC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VoltageC.nc 9 Jun 2005 19:29:00 -0000 1.1
--- VoltageC.nc 9 Jun 2005 19:37:13 -0000 1.2
***************
*** 61,64 ****
--- 61,67 ----
while ((ADC12IFG & BIT0) == 0);
+ // Turn off ADC12
+ ADC12CTL0 = 0;
+
// Check if voltage is greater than 2.7V
return ( ADC12MEM0 > VTHRESH );
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/build/telosb
app.c, 1.8, 1.9 ident_flags.txt, 1.8, 1.9 main.exe, 1.8,
1.9 main.ihex, 1.8, 1.9
- Next message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/Deluge/Deluge/TOSBoot/build/telosb
app.c, 1.9, 1.10 ident_flags.txt, 1.9, 1.10 main.exe, 1.9,
1.10 main.ihex, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list