]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmirws/sensors/WindVaneC.nc
Convenience components that multi-sample an ADC pin for oversampling.
[tinyos-2.x.git] / tos / platforms / tmirws / sensors / WindVaneC.nc
index 1ce247fac65f795c57e5680419146df21b5fdbef..883021f72e61977ebc0df79f1428b649c91d5a3e 100644 (file)
@@ -45,6 +45,9 @@ implementation {
   components SoftwareRtcC as RtcC;
   WindVaneP.Second -> RtcC;
 
+  components new WindVaneAdcC();
+  WindVaneP.Vane -> WindVaneAdcC.Read;
+
   components HalWindVaneC;
-  WindVaneP.Vane -> HalWindVaneC.AsyncGet;
+  WindVaneP.WPower -> HalWindVaneC;
 }