From: mmaroti Date: Mon, 3 May 2010 15:53:38 +0000 (+0000) Subject: add support for the MTS300CB / MTS310CB X-Git-Url: https://oss.titaniummirror.com/gitweb?a=commitdiff_plain;h=604a620cf32878c92d95ee624a74c5162efdf30a;p=tinyos-2.x.git add support for the MTS300CB / MTS310CB --- diff --git a/tos/sensorboards/mts300/PhotoTempDeviceC.nc b/tos/sensorboards/mts300/PhotoTempDeviceC.nc index 28c1520b..9fc2b05d 100644 --- a/tos/sensorboards/mts300/PhotoTempDeviceC.nc +++ b/tos/sensorboards/mts300/PhotoTempDeviceC.nc @@ -36,7 +36,11 @@ implementation TempPower.SplitControl -> TempControl; TempControl.PhotoTempResource -> SharingArbiter.Resource[unique(UQ_PHOTOTEMP_RESOURCE)]; TempControl.Timer -> WarmupTimer; +#if defined(MTS300CA) || defined(MTS310CA) TempControl.Power -> MicaBusC.Int2; +#elif defined(MTS300CB) | defined(MTS310CB) + TempControl.Power -> MicaBusC.PW0; +#endif ReadTemp = TempControl; TempControl.ActualRead -> Adc;