[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/handhelds/apps/MOBIUS/ECG ECGM.nc, 1.2, 1.3
steve ayer
ayer1 at users.sourceforge.net
Fri Jan 4 05:07:37 PST 2008
Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/MOBIUS/ECG
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28709/ECG
Modified Files:
ECGM.nc
Log Message:
Added USE_8MHZ_CRYSTAL so that normal MSP 4.15MHZ mode can be switched
in easily to configure the Bluetooth module. Then 8MHZ will work from
then on.
Index: ECGM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/MOBIUS/ECG/ECGM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ECGM.nc 19 Dec 2007 15:35:49 -0000 1.2
--- ECGM.nc 4 Jan 2008 13:07:33 -0000 1.3
***************
*** 85,88 ****
--- 85,91 ----
extern int sprintf(char *str, const char *format, ...) __attribute__ ((C));
+ /* comment out USE_8MHZ_CRYSTAL and load this code once so that the baudrate of the RovingNetworks
+ Bluetooth module is setup(once only), then uncomment it and load for 8MHZ operation */
+ #define USE_8MHZ_CRYSTAL
#define LOW_BATTERY_INDICATION
***************
*** 200,203 ****
--- 203,208 ----
command result_t StdControl.init() {
+
+ #ifdef USE_8MHZ_CRYSTAL
/*
* set up 8mhz clock to max out
***************
*** 237,245 ****
*/
! /* Debug */
! /* let SER0_RTS be output, 0 enables mag, 1 disables it */
! //TOSH_MAKE_SER0_RTS_OUTPUT();
! //TOSH_SEL_SER0_RTS_IOFUNC();
!
call AccelStdControl.init();
--- 242,246 ----
*/
! #endif /* USE_8MHZ_CRYSTAL */
call AccelStdControl.init();
More information about the Tinyos-contrib-commits
mailing list