[Tinyos-devel] hardware.h micaz tinyOs-2.x error
Domenico Arenga
domenico.arenga at gmail.com
Wed Dec 5 11:35:25 PST 2007
Why my hardware.h platform micaz in tinyOs-2.x is this?
#ifndef HARDWARE_H
#define HARDWARE_H
#ifndef MHZ
/* Clock rate is ~8MHz except if specified by user
(this value must be a power of 2, see MicaTimer.h and
MeasureClockC.nc) */
#define MHZ 8
#endif
#include <atm128hardware.h>
#include <Atm128Adc.h>
#include <MicaTimer.h>
// A/D channels
enum {
CHANNEL_THERMISTOR = ATM128_ADC_SNGL_ADC1 // normally
unpopulated
};
enum {
PLATFORM_BAUDRATE = 57600L
};
#endif //HARDWARE_H
Why can not assign pins with TOSH_ASSIGN_PIN (RED_LED, A, 2)? Why give run
"make micaz" compilation error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20071205/ff35cc92/attachment.htm
More information about the Tinyos-devel
mailing list