]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
reversed set direction and set value to eliminate spikes on initialization of the...
authorbeutel <beutel>
Fri, 22 Feb 2008 12:58:15 +0000 (12:58 +0000)
committerbeutel <beutel>
Fri, 22 Feb 2008 12:58:15 +0000 (12:58 +0000)
tos/platforms/telosb/MotePlatformC.nc

index d599811cd1dc87c4bf1f7fd264e1b1c9b7e32d08..623144f35b1c9bc7d68e45a9755f4e6e0a075f33 100644 (file)
@@ -64,23 +64,23 @@ implementation {
        P5SEL = 0;
        P6SEL = 0;
 
-       P1DIR = 0xe0;
        P1OUT = 0x00;
+       P1DIR = 0xe0;
  
-       P2DIR = 0x7b;
        P2OUT = 0x30;
+       P2DIR = 0x7b;
 
-       P3DIR = 0xf1;
        P3OUT = 0x00;
+       P3DIR = 0xf1;
 
-       P4DIR = 0xfd;
        P4OUT = 0xdd;
+       P4DIR = 0xfd;
 
-       P5DIR = 0xff;
        P5OUT = 0xff;
+       P5DIR = 0xff;
 
-       P6DIR = 0xff;
        P6OUT = 0x00;
+       P6DIR = 0xff;
 
        P1IE = 0;
        P2IE = 0;