[Tinyos-commits]
CVS: tinyos-1.x/tos/platform/telos hardware.h, 1.16, 1.17
Joe Polastre
jpolastre at users.sourceforge.net
Wed Jul 27 21:25:53 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/telos
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15846
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/telos/hardware.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** hardware.h 13 Jun 2005 20:59:50 -0000 1.16
--- hardware.h 28 Jul 2005 04:25:51 -0000 1.17
***************
*** 61,64 ****
--- 61,67 ----
TOSH_ASSIGN_PIN(FLASH_CS, 4, 4);
+ // 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