I'm not sure what kind of "clock ticks" you have but a brute force way would be to toggle an LED or something and use a scope to measure the length of a tick in order to get a multiplier. If ticks are, say, TimerM values then I believe it's in 1/1024 of a second. If ticks are instruction cycles then you'll need to examine the manual and schematic to see what the clock is and how many xtal cycles go into an instruction (off hand, maybe 4 at 8MHz?).
MS Rannouna Rania wrote: > Hi all, > > Thank you all for your Kind response and your help. > In fact I am new in tinyos, so that sometimes I ask questions that seem > maybe evident. > Now my problem is that I want to calculate the time needed by my > application in seconds. > I succed to calculate it in clock ticks. > Have you any idea how can I do this? I guess I should use the > SimpleTime component but I can't understand how to use it (I am going > to use the telosb). > Thank you very much in advance. > Best Regards, > Rania > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Platform: WinXP/Cygwin TinyOS version: 1.x, Boomerang Programmer: MIB510 Device(s): Mica2, MicaZ, Tmote Sensor board: homebrew _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
