]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmirws/sensors/HalWindVaneC.nc
Work on wind sensor move to Davis Instruments.
[tinyos-2.x.git] / tos / platforms / tmirws / sensors / HalWindVaneC.nc
index 21322ae11e9f2b4e59515f7afa586fb60ccef6d7..2125a28e3e796c6428e962e21fbbb1ae23d39d18 100644 (file)
  */
  
 /**
- * HAL layer for the wind vane sensor.
+ * HAL layer for the wind vane sensor provides a power control.
  * 
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
  
-#include "WindVane.h"
-
 configuration HalWindVaneC {
-  provides interface AsyncGet<uint8_t>;
+  provides interface GeneralIO as WPower;
 }
 implementation {
-  components HalWindVaneP;
-  AsyncGet = HalWindVaneP;
+  components new Msp430GpioC() as WPowerM;
+  WPower = WPowerM;
 
-  components MainC;
-  MainC.SoftwareInit -> HalWindVaneP.Init;
+  components HplMsp430GeneralIOC;
+  WPowerM -> HplMsp430GeneralIOC.Port57;
 }