provides interface Notify<aerovector_t>;
}
implementation {
-#if 0
- components new AeroVaneReadP(28800U);
-#else
- components new AeroVaneReadP(900);
-#endif
+ components new AeroVaneReadP(900); /* 28800 clocks on 32768 Hz crystal */
Notify = AeroVaneReadP;
-#if 0
- components new Alarm32khz16C();
- AeroVaneReadP.Alarm -> Alarm32khz16C;
-#else
components new TimerMilliC();
AeroVaneReadP.Timer -> TimerMilliC;
-#endif
components WindVaneReadC;
AeroVaneReadP.Read -> WindVaneReadC;