[Tinyos-help] how to get a random float number

2007-02-13 Thread Shen Ke
How can I get a random floating number between 0~1? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] cannot compile TestSerial

2007-01-25 Thread Shen Ke
I'm running tinyos-2.x and trying to do Tutorial lesson 4 but i have problems compiling TestSerial. When I type make mica2, it says /usr/lib/ncc/nesc_nx.h:16:22: inttypes.h: No such file or directory failed to parse message file TestSerial.h ... But if I remove the following from Makefile:

Re: [Tinyos-help] How to get computational time of a function intinyos1.x

2007-01-25 Thread Shen Ke
I use the command getNow() provided by TimerMilliC, and I can get an integer number. What is the time unit? - Original Message - From: Shen Ke [EMAIL PROTECTED] To: Hui Kang [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Sent: Thursday, January 25, 2007 1:16 PM Subject

[Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Shen Ke
Hi, I want to get the computational(running) time of a function written by myself. I'm developing under tinyos1.x. Thanks for any help. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Shen Ke
Which directory is it in? Isn't it a tinyos2.0 component? Thanks. - Original Message - From: Hui Kang [EMAIL PROTECTED] To: Shen Ke [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Sent: Thursday, January 25, 2007 1:09 PM Subject: Re: [Tinyos-help] How to get computational

[Tinyos-help] cannot make simulation

2007-01-24 Thread Shen Ke
I am upgrading tinyos from 1.x to 2.0. When I make the sample application with make mica2, everything is OK. However, when I type make micaz sim, the command fails saying that TossimActiveMessageP not implemented. ___ Tinyos-help mailing list