X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2FMotePlatformC.nc;h=6aebc096f9e22786360686feee920a2c62bb361c;hb=c62eb5a8f569e1a267d10a4c4aa24e8f5151fb8b;hp=9f7504883ac87ea320ae97f805ea2bf4f0457971;hpb=108ff439d63ddb1413efe5e9830392bab56e001b;p=tinyos-2.x.git diff --git a/tos/platforms/tmirws/MotePlatformC.nc b/tos/platforms/tmirws/MotePlatformC.nc index 9f750488..6aebc096 100644 --- a/tos/platforms/tmirws/MotePlatformC.nc +++ b/tos/platforms/tmirws/MotePlatformC.nc @@ -80,15 +80,16 @@ implementation { P4REN = 0x83; /* 1 0 0 0 0 0 1 1 */ /* Port 5: - * 7:W315, 6:W270, 5:W225, 4:W180, 3:W135, 2:W090, 1:W045, 0:W000 + * 7:WPOWER, 6:W270, 5:W225, 4:W180, 3:W135, 2:W090, 1:W045, 0:W000 */ P5SEL = 0; /* 0 0 0 0 0 0 0 0 */ P5OUT = 0; /* 0 0 0 0 0 0 0 0 */ - P5DIR = 0; /* 0 0 0 0 0 0 0 0 */ + P5DIR = 0x80; /* 1 0 0 0 0 0 0 0 */ P5REN = 0; /* 0 0 0 0 0 0 0 0 */ /* Port 6: - * 7:TEMP_PWR, 6:TEMP3, 5:TEMP2, 4:TEMP1, 3:PHOTO, 2:-, 1:-, 0:ADC_VBATT + * 7:TEMP_PWR, 6:TEMP3, 5:TEMP2, 4:TEMP1, 3:PHOTO, 2:ADC_WIND, 1:-, + * 0:ADC_VBATT */ P6SEL = 0x79; /* 0 1 1 1 1 0 0 1 */ P6OUT = 0; /* 0 0 0 0 0 0 0 0 */