I dont whether its a stupid question or not, but I am stucked in a very
simple equation,
uint32_t latest
uint32_t packetsLost
uint32_t packetsSend
latest =0;
packetsLost = 0 ;
packetsSend = 0;
printf("latest:%u\n",latest);printfflush();
latest = 100*packetsLost/packetsSend;
printf("latest:%u\n
Hi,
I don't know why you get two different results, but neither result is
correct as a division by 0 is undefined. I could imagine that in the
case where you specify the calculation explicitly, the calculation is
done in the compiler, while when you specify the calculation with the
variables,
The only thing I can say is that sometiemes the printf function do only support
16bit unsigned integers. Larger values than 65535 will be truncated to the
lowest 16bit (e.g. avr)
Tobias
- Ursprüngliche Nachricht -
Von: wasif masood
Datum: Montag, Oktober 4, 2010 3:33 pm
Betreff: [Tinyo
I am working on implementation of a localization scheme in TinyOS. I want to
know how GPS component can be used in TinyOS.
--
Avishek Dan
Undergraduate Student
Dept. of Computer Science and Technology
Bengal Engineering and Science University, Shibpur
_
How can I have a clock signal for global synchronization in tinyos?
--
Avishek Dan
Undergraduate Student
Dept. of Computer Science and Technology
Bengal Engineering and Science University, Shibpur
___
Tinyos-help mailing list
Tinyos-help@millennium.berk
Can some one help me summarize the toplogies provided by TOSSIM?
Like this: grid.txt, which is a 10x10 grid of nodes spaced roughly 40
feet apart. Each node is placed randomly within a 40'x40' "cell." The
cells follow a strict grid.
meyer-heavy.txt is a noise trace taken from Meyer
I am writing a protocol for congestion control and i need to test channel
load, how i can do this with tinyos ?
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
I need to correct something. I realized that switching to another USB port was
not the real reason that erasing worked. It worked because the node reset after
being plugged in to another USB port. Now I'm still having the same erasing
error as mentioned before. However, it start to work again i
Hi
i working in a graduation work and i try to make a simple code, but my code
don't do anything. Can someone help me please with a simple code, with 2
nodes connected send data?! Sorry for this email, but i need this a lot. =D
Thanks for all
___
Tinyo