Hi all,
I am using TM4c123ENCPDT controller.I am facing problem in converting hex string to float.
eg.
float data;
unsigned char ch[4]= {0x41,0x07,0xAE,0x14}; // 8.48 value in float
data = *(float*)ch;
But problem is that i am not getting 8.48 value.
Please help me what i am doing wrong.
Regards,
Dhanush