Hi Michael,
I downloaded your robocode project. bit i didn't found the code of conversion
(where is it ?)
Where must I put the code, in the module application or in java code
It tried with this code. but no changes:
// 2-byte number : ADC is in 16 bits
int SHORT_little_endian_TO_big_endian(int data)
{
return ((data>>8)&0xFF)+((data << 8)&0xFF00);
}
in case of mistakes, please hint me
Thank you in advance______________________________
BOUZAYANI Walid
Student Researcher
CES Laboratory, ENIS Tunisia
[email protected]
GSM: (00216) 94 306 603
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help