[Tinyos-help] Errors to pass from hex to dec

Lorena Aguirre aguilorena at gmail.com
Thu Jan 15 00:32:10 PST 2009


Hello,

I have a sintax error when I try to do asm{temp5 =swap(temp5)}

I have this:

uint8_t temp1 = 0xAA;
uint8_t temp2 = 0xBB;
uint8_t temp3 = 0xCC;
uint8_t temp4 = 0xDD;

and I want to pass them to:

uint32_t temp5;

and than temp5 will be temp5=0xAABBCCDD;

Could anyone help me please?

Thank you!!!
Lorena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090115/15396ff6/attachment.htm 


More information about the Tinyos-help mailing list