The aptly-named p.39 "Calibrated Internal RC Oscillator" of the atmega128 datasheet gives the fuse values to get 1, 2, 4 or 8MHz operation. The pages before that explain what the other fuse values means...
TinyOS 2 has reasonable support for operation under the calibrated oscillator. If you've set the fuses to use, e.g., 2MHz, compile with -DMHZ=2 (add "PFLAGS += -DMHZ=2" to your Makefile). See the MeasureClockC component for an interface which will give you information on the current clock rate (w/ respect to the 32kHz crystal). David Gay _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
