RE: [Tinyos-help] Time counting

2007-01-04 Thread Michael Newman
The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.0 TEP is quite clear, I never got there. The 2.0

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
On 1/4/07, Michael Newman [EMAIL PROTECTED] wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.0

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
My apologies for the initial mis-send. On 1/4/07, Michael Newman [EMAIL PROTECTED] wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably something like +/-10% of the declared units. This is for various reasons including but not limited to temperature, voltage, and manufacturing variations that affect hardware

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 5:27 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably something

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 5:27 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time counting The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
result in slow counts. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 6:01 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting Of course the device capable for some definition

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
in slow counts. -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 6:01 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time counting Of course the device

Re: [Tinyos-help] Time counting

2007-01-03 Thread Philip Levis
On Jan 3, 2007, at 4:41 PM, Michael Newman wrote: For time counts driven by a crystal the types of errors you are talking about should result in time variations of seconds per day. What I am seeing is seconds per minute. A repeating counter set to 1000 milliseconds should count seconds

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
This seems to work much better. Where will I find it documented? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 7:53 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
would result in slow counts. -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 6:01 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time counting

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
(TIMER_REPEAT, 1000); } _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 9:16 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting It is documented 1) In the TinyOS 1.x Timer

Re: [Tinyos-help] Time counting

2007-01-03 Thread Philip Levis
On Jan 3, 2007, at 6:43 PM, Michael Newman wrote: I was definitely led astray by the introductory material and the tutorials. They all talk about milliseconds and provide examples such as Blink where 1000 milliseconds is used as a timer argument and is described as a 1 second interval.

Re: [Tinyos-help] Time counting

2007-01-03 Thread Joe Polastre
On 1/3/07, Michael Newman [EMAIL PROTECTED] wrote: command result_t StdControl.start() { // Start a repeating timer that fires every 1000ms return call Timer.start(TIMER_REPEAT, 1000); } It does fire every 1000ms. Every 1000 binary milliseconds to be precise. RTM: