I've solved it. The useful post is
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-January/022261.html
.

Ittipong

2009/4/14 Ittipong Khemapech <[email protected]>

> Hi,
>
> I have been modifying the BaseStation application to send some values to
> the Source. Let say that val1 = 200, val2 = 1 and val3 = 2048. The result,
> output is equal to (val1 - val2) * val3. It should be 407552.
>
> However, such computation takes place at the Source and it gives me 14336.
>
> I declare output as uint32_t.
>
> Please give me some hints on what I've missed. Hope to hear from you very
> soon.
>
> Thanks,
> Ittipong
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to