]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmirws/MotePlatformC.nc
tmirws sets outputs going to cp2103 to low (zero) by default.
[tinyos-2.x.git] / tos / platforms / tmirws / MotePlatformC.nc
index 3913e6cc4051ae3cb5a866e44c8e7f6ee63cfa3e..bb7829e1060f50b925aec737f8ecca8316b30352 100644 (file)
@@ -48,7 +48,7 @@ implementation {
         * 1:BSL_TX, 0:WSPEED
         */
        P1SEL = 0;      /* 0 0 0 0 0 0 0 0 */
-       P1OUT = 0x18;   /* 0 0 0 1 1 0 0 0 */
+       P1OUT = 0x10;   /* 0 0 0 1 0 0 0 0 */
        P1DIR = 0x08;   /* 0 0 0 0 1 0 0 0 */
        P1REN = 0x10;   /* 0 0 0 1 0 0 0 0 */
  
@@ -65,7 +65,7 @@ implementation {
         * 1:UC_SIMO, 0:SHT_SCK
         */
        P3SEL = 0;      /* 0 0 0 0 0 0 0 0 */
-       P3OUT = 0xff;   /* 1 1 1 1 1 1 1 1 */
+       P3OUT = 0x3f;   /* 0 0 1 1 1 1 1 1 */
        P3DIR = 0x4b;   /* 0 1 0 0 1 0 1 1 */
        P3REN = 0xb4;   /* 1 0 1 1 0 1 0 0 */