[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/btnode3 MotePlatformP.nc, 1.4, 1.5

Jan Beutel beutel at users.sourceforge.net
Wed Jul 4 15:02:47 PDT 2007


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

Modified Files:
	MotePlatformP.nc 
Log Message:
turn off bluetooth power on init

Index: MotePlatformP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/btnode3/MotePlatformP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MotePlatformP.nc	12 Dec 2006 18:23:40 -0000	1.4
--- MotePlatformP.nc	4 Jul 2007 22:02:45 -0000	1.5
***************
*** 24,30 ****
  
    command error_t PlatformInit.init() {
!     // Pull C I/O port pins high to initialize LED's and radio and IO power 
      // Set port C as output only
!     PORTC = 0xff;
      DDRC = 0xff;
      
--- 24,32 ----
  
    command error_t PlatformInit.init() {
!     // Pull C I/O port pins low to initialize LED's to off
!     // Turn in cc1000 and IO power 
!     // Turn off bluetooth power
      // Set port C as output only
!     PORTC = 0xb0;
      DDRC = 0xff;
      
***************
*** 34,37 ****
--- 36,40 ----
      PORTB = 0x20;
      DDRB = 0x20;
+     
  
      // Prevent sourcing current



More information about the Tinyos-2-commits mailing list