I think the clock rate on the mica2 is not-quite-one but I haven't
done the arithmetic, so a 1ms timer is not exactly 1ms. If you have
a scope or something you could measure it by toggling an LED.

On the 1ms vs 4ms issue, what version of TOS are you using? I just
noticed that my 1ms timer that worked on 1.1.7 does not work on 1.1.10.
I haven't bothered with any debugging yet though.

MS

MANJUNATH wrote:
Dear All,

        I am observing some drift in the timers on my PC and on mica2
        motes, is it something thing to do with hardware clocks ?

        I have one more question: Using "Timer.start" interface, I
        am not able to generate interrupts every millisecond, the least
        possible interrupt interval is remaining at 4 milliseconds. I
        tried with MicroTimer also but on a long run it is also not
        accurate. Can you please suggest me something ?
A
Thanking you,
Manjunath

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to