27,373
社区成员
发帖
与我相关
我的任务
分享
printf("bef1 temp:x%x humi:x%x \n",temp_val.i,humi_val.i);
humi_val.f=(float)humi_val.i; //converts integer to float
temp_val.f=(float)temp_val.i; //converts integer to float
printf("bef2 temp:x%x humi:x%x \n",temp_val.i,humi_val.i);