sizeof(float) gives the amount of bytes a float number takes. Just send
that many bytes and convert back in the receiving end.
 
Regards,
 
    Harri

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Iturralde Garrote, Pablo M.
Sent: Wednesday, March 26, 2008 4:18 PM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] send a float


Hi I'm working in tinyos2 with cygwin and telosb motes.
I'm trying to send a float over the radio but I don't know how.. does
anybody have done this, how I do it ?????
 
Thanks in advance 
Pablo Iturralde
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to