[Tinyos-help] A clock problem trouble me for a long time
roy liu ^-^
happyaspen at sjtu.edu.cn
Tue Jan 16 05:42:41 PST 2007
schip,
I have tried in the Blink app.The result showed that the clock frequence changed during the silulation. As below:
: CLOCK: event handled for mote 0 at 0:0:14.80509050 (15624 ticks).
interval to 4 @ 0:0:14.80509050
: CLOCK: event handled for mote 0 at 0:0:14.80899650 (15624 ticks).
interval to 4 @ 0:0:14.80899650
: CLOCK: event handled for mote 0 at 0:0:14.81290250 (15624 ticks).
interval to 0 @ 0:0:14.81290250
: CLOCK: event handled for mote 0 at 0:0:15.06288650 (999936 ticks)
interval to 4 @ 0:0:15.06288650
: CLOCK: event handled for mote 0 at 0:0:15.06679250 (15624 ticks).
interval to 4 @ 0:0:15.06679250
: CLOCK: event handled for mote 0 at 0:0:15.07069850 (15624 ticks).
As the author said in TimerM that TimerM cannot support continuous timers that fire faster than every 3 ticks (3ms).
Does that mean I have no choice but to update to tinyos2.0 version? ohh,I am so depressed.
------------------
roy liu ^-^
2007-01-16
-------------------------------------------------------------
From:Michael Schippling
Data:2007-01-15 05:16:07
To:roy liu ^-^
Copy:tinyos-help
Subject:Re: [Tinyos-help] A clock problem trouble me for a long time
If that's 3 MILLI-sec you should be able to use the standard
TimerC interface/code as is done in the Oscilloscope demo app.
MS
roy liu ^-^ wrote:
> hi,everyone
> I want to implement a timer fired every 3ms.Someone suggest me to use Timermillic,but it is implemented in the tinyos2.0 and my version is 1.1.15.
> Is it possible for me to achieve my project without updating?
> thx a lot
>
> BestRegards
> roy liu ^-^
> 2007-01-14
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list