Most TinyOS platforms have the millisecond timer running at a rate of 1024 "binary milliseconds" per second (by dividing a 32768 Hz crystal by 32). Try setting the timer to fire every 1024 units and check if the period is then closer to one second. HTH, Michiel
From: [email protected] [mailto:[email protected]] On Behalf Of Roadstar Runner Sent: Friday, February 06, 2015 04:27 To: tinyos forum Subject: [Tinyos-help] IRIS Timer accuracy I am using the Timer <TMilli> interface to fire every 1000ms. I have a pin toggling every time the timer fires. The actual period i see is about 980 ms instead of 1s. I tried using Atm128Calibrate.calibrateMicro(), but the period now is 1020 ms. Please advise. Thanks.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
