[Tinyos-commits] CVS: tinyos-1.x/tos/platform/telosb hardware.h, 1.9, 1.10

Joe Polastre jpolastre at users.sourceforge.net
Wed Jul 27 21:25:16 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/telosb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15738

Modified Files:
	hardware.h 
Log Message:
detect if the mote is plugged into USB


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/telosb/hardware.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** hardware.h	13 Jun 2005 21:24:42 -0000	1.9
--- hardware.h	28 Jul 2005 04:25:14 -0000	1.10
***************
*** 72,75 ****
--- 72,78 ----
  TOSH_ASSIGN_PIN(FLASH_HOLD, 4, 7);
  
+ // Detect if the mote is plugged into USB
+ TOSH_ASSIGN_PIN(USB_DETECT, 1, 2);
+ 
  // PROGRAMMING PINS (tri-state)
  //TOSH_ASSIGN_PIN(TCK, );



More information about the Tinyos-commits mailing list