sara k wrote:
Hi All, There is two interfaces that returns the current localtime: 1- LocalTime interface has async command uint32_t get(); 2- Timer interface has command uint32_t getNow(); What is the differnce and which one is more accuarate?
They are just interfaces... so it will depend on what component you wire them to. If you are using telos, and tinyos-2.x, and if you are using components TimerMilliC and LocalTimeMilliC, then they are same: then are all wired to msp430/timer/Msp430Counter32khzC.nc, which is wired to 'TimerB' of msp430. So... you can just use them. Thanks
Also can anyone tells how to read the MSP430's hardware timer??? thanks for any help Sara _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- Jeongyeup Paek Ph.D. student Embedded Networks Laboratory Department of Computer Science University of Southern California http://enl.usc.edu/~jpaek _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
