See my just-past-post about the advisability of using FP values...
But you "should" be able to just declare:

   float stuff[SIZE];

If you use floats in a TOSMsg payload, MIG should be able to generate
a Java class that interprets them correctly. I poked in there some
time ago and remember seeing code to convert floats "off the wire".

MS

sara k wrote:
Hi All,
Is it possible to declare a floating point variable in tinyos.
I would like declare an array of float , is that applicable in tinyos
? if yes please let me know how to do that!

thank you for any suggestion

Best,
  Sara
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to