[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/telosb
MotePlatformC.nc, 1.4, 1.5
Jan Beutel
beutel at users.sourceforge.net
Fri Feb 22 04:58:18 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosb
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13205/tos/platforms/telosb
Modified Files:
MotePlatformC.nc
Log Message:
reversed set direction and set value to eliminate spikes on initialization of the tmote platform
Index: MotePlatformC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosb/MotePlatformC.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MotePlatformC.nc 10 Jul 2007 00:42:36 -0000 1.4
--- MotePlatformC.nc 22 Feb 2008 12:58:15 -0000 1.5
***************
*** 65,85 ****
P6SEL = 0;
- P1DIR = 0xe0;
P1OUT = 0x00;
- P2DIR = 0x7b;
P2OUT = 0x30;
- P3DIR = 0xf1;
P3OUT = 0x00;
- P4DIR = 0xfd;
P4OUT = 0xdd;
- P5DIR = 0xff;
P5OUT = 0xff;
- P6DIR = 0xff;
P6OUT = 0x00;
P1IE = 0;
--- 65,85 ----
P6SEL = 0;
P1OUT = 0x00;
+ P1DIR = 0xe0;
P2OUT = 0x30;
+ P2DIR = 0x7b;
P3OUT = 0x00;
+ P3DIR = 0xf1;
P4OUT = 0xdd;
+ P4DIR = 0xfd;
P5OUT = 0xff;
+ P5DIR = 0xff;
P6OUT = 0x00;
+ P6DIR = 0xff;
P1IE = 0;
More information about the Tinyos-2-commits
mailing list