二、打包快递
//读温度utemp=Read_TMP275_TEMP();
dat =Write_SPI(AS5055A_Angular_Data,READ_CMD,0);
sum=sum + dat;
if(++ii>7)
{
ii=0;
sharedbyte = sum >> 3;
sum=0;
sharedbyte = sharedbyte | ((utemp<<16) & 0xFFFF0000);
//----------------------------------------------
mutexTake();
|