[Tinyos-help] compatibility among variables
Antonio Guerrieri
antonio.guerrieri at email.it
Wed Jan 7 02:14:49 PST 2009
Hi All,
In my TinyOS application I have to use together TinyOS variables with type
like "uint16_t" and C variables with type like "unsigned int".
I see they live together with no problems.
Now, my question is: what is the difference between these two types of
variables in TinyOS?
Are they compatible?
If I have something like:
uint16_t var1 = 10;
unsigned int var2 = var1;
these values are equals?
And if I call a method like this:
void test(uint16_t var1);
with the string:
test(var2);
where var2 is an unsigned int?
Thanks a lot for your attention.
Antonio Guerrieri
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Incrementa la visibilita' della tua azienda con l'invio di newsletter e campagne email marketing.
* Con investimento di soli 250 Euro puoi incrementare la tua visibilita'
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8350&d=7-1
More information about the Tinyos-help
mailing list