*/
configuration HalWindVaneC {
- provides interface GeneralIO as WPower;
+ provides {
+ interface GeneralIO as WPower;
+ interface GeneralIO as WDead;
+ }
}
implementation {
components new Msp430GpioC() as WPowerM;
+ components new Msp430GpioC() as WDeadM;
WPower = WPowerM;
+ WDead = WDeadM;
components HplMsp430GeneralIOC;
WPowerM -> HplMsp430GeneralIOC.Port57;
+ WDeadM -> HplMsp430GeneralIOC.Port56;
+
+ components MainC, HalWindVaneP;
+ MainC.SoftwareInit -> HalWindVaneP;
+ HalWindVaneP.WPower -> HplMsp430GeneralIOC.Port57;
+ HalWindVaneP.WDead -> HplMsp430GeneralIOC.Port56;
}