[Tinyos-help] How to implement a Timer fired every 1ms in
tossim
roy liu ^-^
happyaspen at sjtu.edu.cn
Sat Jan 6 22:10:26 PST 2007
hi
I only found TImerMilliC in directory /tos/platform/msp430, I guess
it's because my tinyos version is 1.1.15.
Is there the same module in tinyos1.x ,or does it still work if I just move
TImerMilliC file from tinyos2.x to tinyos1.x directory?
------------------
roy liu ^-^
2007-01-07
-------------------------------------------------------------
From:Jordi Casals
Data:2007-01-06 00:21:46
To:tinyos-help at millennium.berkeley.edu
Copy:
Subject:Re: [Tinyos-help] How to implement a Timer fired every 1ms in tossim
You should use TImerMilliC and fire every 1000milliseconds
...
uses interface Timer<TMilli> as Timer;
...
...
call Timer.startPeriodic(1000);
...
or similar
--
Jordi Casals
More information about the Tinyos-help
mailing list