#ifndef HARDWARE_H
#define HARDWARE_H
+#ifndef MHZ
+/* Clock rate is 4MHz except if specified by user
+ (this value must be a power of 2, see MicaTimer.h and MeasureClockC.nc) */
+#define MHZ 4
+#endif
+
#include <atm128hardware.h>
#include <Atm128Adc.h>
+#include <MicaTimer.h>
// A/D channels
enum {
CHANNEL_BATTERY_THERMISTOR = ATM128_ADC_SNGL_ADC1
};
-#ifndef MHZ
-/* Clock rate is 4MHz except if specified by user
- (this value must be a power of 2, see MicaTimer.h and MeasureClockC.nc) */
-#define MHZ 4
-#endif
-
enum {
PLATFORM_BAUDRATE = 19200L
};