*/
/**
- * 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;
}